Minor change: Added constant for strings
[wordblah.git] / wordblah_player.c
index 58541f5..50a1c57 100644 (file)
@@ -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);
@@ -690,7 +690,7 @@ void on_menu_about_activate (GtkMenuItem *item, gpointer data)
                                                        "website", WEBSITE,
                                                        "website-label", WEBSITE_LABEL,
                                                        "license-type", GTK_LICENSE_CUSTOM,
-                                                       "license", LICENSE_BSD
+                                                       "license", LICENSE_BSD,
                                                        "version", VERSION,
                                                        (char*)NULL);
 }