[gtk+/gtk-2-22] gtk: add cast to fix warning in my last commit
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] gtk: add cast to fix warning in my last commit
- Date: Thu, 14 Oct 2010 09:29:14 +0000 (UTC)
commit d45595a7e903d8cb338bc26295a5aa29b3e49ed8
Author: Michael Natterer <mitch gimp org>
Date: Thu Oct 14 11:28:41 2010 +0200
gtk: add cast to fix warning in my last commit
gtk/gtkfilechooserdefault.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 8d2c557..0694c49 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6371,7 +6371,7 @@ show_and_select_files (GtkFileChooserDefault *impl,
gtk_tree_selection_select_iter (selection, &iter);
- path = gtk_tree_model_get_path (fsmodel, &iter);
+ path = gtk_tree_model_get_path (GTK_TREE_MODEL (fsmodel), &iter);
gtk_tree_view_set_cursor (GTK_TREE_VIEW (impl->browse_files_tree_view),
path, NULL, FALSE);
gtk_tree_path_free (path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]