[easytag] Add typecast to fix a compiler warning, bug 693569



commit fdf8cc1151e5590033aad13b6ce28d3b84ef4ba2
Author: Florian MÃllner <fmuellner gnome org>
Date:   Mon Feb 11 01:20:45 2013 +0100

    Add typecast to fix a compiler warning, bug 693569
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693569

 src/misc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/misc.c b/src/misc.c
index 21d943a..58dad0c 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -3278,8 +3278,8 @@ Load_Filename_Select_Row_In_Other_List (GtkWidget* treeview_target, gpointer ori
     path_orig = gtk_tree_model_get_path(treemodel_orig, &iter_orig);
     gtk_tree_selection_unselect_all(selection_target);
 
-    // Synchronize the two lists
-    ce_adj = gtk_scrollable_get_vadjustment(treeview_orig);
+    /* Synchronize the two lists. */
+    ce_adj = gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (treeview_orig));
     ct_adj = gtk_scrollable_get_vadjustment(GTK_SCROLLABLE(treeview_target));
 
     if (gtk_adjustment_get_upper(GTK_ADJUSTMENT(ct_adj)) >= gtk_adjustment_get_page_size(GTK_ADJUSTMENT(ct_adj))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]