X-Git-Url: https://harishankar.org/repos/?p=wordblah.git;a=blobdiff_plain;f=wordblah_player.c;h=50a1c57a2cfd5c7bb863422415ee48f92a90a0a7;hp=e1c039fd57621ac18bcaafeefc270f9a1fe5d382;hb=HEAD;hpb=e68ee2820dbc5f37927cb3c18d414aa394688e82 diff --git a/wordblah_player.c b/wordblah_player.c index e1c039f..50a1c57 100644 --- a/wordblah_player.c +++ b/wordblah_player.c @@ -57,7 +57,7 @@ gboolean on_down_list_selection_changed (GtkTreeSelection *sel, GtkTreeIter iter; GtkTreeModel* mod; - if (gtk_tree_selection_get_selected (sel, &mod, &iter)) + if (gtk_tree_selection_get_selected (sel, &mod, &iter) == TRUE) { guint sel_word_index; gtk_tree_model_get (mod, &iter, 0, &sel_word_index, -1); @@ -78,7 +78,7 @@ gboolean on_across_list_selection_changed (GtkTreeSelection *sel, GtkTreeIter iter; GtkTreeModel* mod; - if (gtk_tree_selection_get_selected (sel, &mod, &iter)) + if (gtk_tree_selection_get_selected (sel, &mod, &iter) == TRUE) { guint sel_word_index; gtk_tree_model_get (mod, &iter, 0, &sel_word_index, -1); @@ -689,7 +689,8 @@ void on_menu_about_activate (GtkMenuItem *item, gpointer data) "comments", COMMENTS, "website", WEBSITE, "website-label", WEBSITE_LABEL, - "license-type", GTK_LICENSE_BSD_3, + "license-type", GTK_LICENSE_CUSTOM, + "license", LICENSE_BSD, "version", VERSION, (char*)NULL); }