From cb92e3d2ce5f342bea8d1813021f9d9e224868d7 Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Wed, 15 Feb 2006 02:34:37 +0000 Subject: Missed one gtk_tree_row_reference_get_model in patch (somehow this still compiled...?) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@279 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- openembedded/packages/pcmanfm/files/no-fam-gtk2.6.patch | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'openembedded') diff --git a/openembedded/packages/pcmanfm/files/no-fam-gtk2.6.patch b/openembedded/packages/pcmanfm/files/no-fam-gtk2.6.patch index 1a65faead..40ced49d2 100644 --- a/openembedded/packages/pcmanfm/files/no-fam-gtk2.6.patch +++ b/openembedded/packages/pcmanfm/files/no-fam-gtk2.6.patch @@ -29,7 +29,7 @@ diff -urNd pcmanfm-0.1.9.8.old/configure.in pcmanfm-0.1.9.8/configure.in AC_SUBST([FAM_CFLAGS]) diff -urNd pcmanfm-0.1.9.8.old/src/foldercontent.c pcmanfm-0.1.9.8/src/foldercontent.c --- pcmanfm-0.1.9.8.old/src/foldercontent.c 2006-02-08 18:36:52.000000000 +0000 -+++ pcmanfm-0.1.9.8/src/foldercontent.c 2006-02-15 02:15:10.000000000 +0000 ++++ pcmanfm-0.1.9.8/src/foldercontent.c 2006-02-15 02:51:03.000000000 +0000 @@ -31,9 +31,11 @@ }FolderContentCallback; @@ -207,6 +207,18 @@ diff -urNd pcmanfm-0.1.9.8.old/src/foldercontent.c pcmanfm-0.1.9.8/src/foldercon tree_path = gtk_tree_row_reference_get_path( content->tree_node ); gtk_tree_model_get_iter( model, &parent_it, tree_path ); +@@ -776,7 +825,11 @@ + + /* There is no need to update the dir tree currently. */ + if( content->tree_node ) { ++#ifdef HAVE_GTK_2_8 + model = gtk_tree_row_reference_get_model( content->tree_node ); ++#else ++ model = content->tree_model; ++#endif + tree_path = gtk_tree_row_reference_get_path( + content->tree_node ); + gtk_tree_model_get_iter( model, &parent_it, tree_path ); diff -urNd pcmanfm-0.1.9.8.old/src/foldercontent.h pcmanfm-0.1.9.8/src/foldercontent.h --- pcmanfm-0.1.9.8.old/src/foldercontent.h 2006-02-07 10:26:03.000000000 +0000 +++ pcmanfm-0.1.9.8/src/foldercontent.h 2006-02-15 02:13:40.000000000 +0000 -- cgit v1.2.3