[gtk+] filechooser: Fix compile warning



commit 3d0a2d50f04cfff98dec41186b66fda88d32fa7e
Author: Benjamin Otte <otte redhat com>
Date:   Sat Sep 10 16:11:27 2011 +0200

    filechooser: Fix compile warning

 gtk/gtkfilechooserdefault.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index d7c1ebf..c8aaff4 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -3908,7 +3908,7 @@ visit_file_cb (GtkMenuItem *item,
     {
       GFile *file = files->data;
 
-      gtk_file_chooser_default_select_file (impl, file, NULL); /* NULL-GError */
+      gtk_file_chooser_default_select_file (GTK_FILE_CHOOSER (impl), file, NULL); /* NULL-GError */
     }
 
   g_slist_foreach (files, (GFunc) g_object_unref, NULL);



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