summaryrefslogtreecommitdiff
path: root/meta/packages/pcmanfm/files/no-warnings.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-25 13:40:17 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-25 13:40:17 +0100
commit43b8e664673523c803a6993b9b5a582cdc889afd (patch)
tree2a854bc430e5f607ee96e6fb212177478a48eb5a /meta/packages/pcmanfm/files/no-warnings.patch
parent7edde59de4fd8b19af55e8377138db6ee3dbb3d8 (diff)
downloadopenembedded-core-43b8e664673523c803a6993b9b5a582cdc889afd.tar.gz
openembedded-core-43b8e664673523c803a6993b9b5a582cdc889afd.tar.bz2
openembedded-core-43b8e664673523c803a6993b9b5a582cdc889afd.tar.xz
openembedded-core-43b8e664673523c803a6993b9b5a582cdc889afd.zip
Revert "pcmanfm: Update to 0.9.7"
This reverts commit d6ba72ac3425596aae96ccfd1ddbbaaf20b11705. This recipe is not cross compile safe and failes on non0x86 builds.
Diffstat (limited to 'meta/packages/pcmanfm/files/no-warnings.patch')
-rw-r--r--meta/packages/pcmanfm/files/no-warnings.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/meta/packages/pcmanfm/files/no-warnings.patch b/meta/packages/pcmanfm/files/no-warnings.patch
new file mode 100644
index 000000000..b1570a0d9
--- /dev/null
+++ b/meta/packages/pcmanfm/files/no-warnings.patch
@@ -0,0 +1,60 @@
+Index: pcmanfm-0.5/src/main.c
+===================================================================
+--- pcmanfm-0.5.orig/src/main.c
++++ pcmanfm-0.5/src/main.c
+@@ -118,7 +118,7 @@
+
+ static void init_folder();
+ static void init_daemon_or_desktop();
+-static void check_icon_theme();
++/*static void check_icon_theme();*/
+
+ static gboolean handle_parsed_commandline_args();
+
+@@ -322,7 +322,7 @@
+ gtk_widget_show ( GTK_WIDGET( main_window ) );
+ return main_window;
+ }
+-
++#if 0
+ void check_icon_theme()
+ {
+ GtkSettings * settings;
+@@ -361,7 +361,7 @@
+ }
+ g_free( theme );
+ }
+-
++#endif
+ #ifdef _DEBUG_THREAD
+
+ G_LOCK_DEFINE(gdk_lock);
+@@ -405,7 +405,7 @@
+ vfs_file_info_set_thumbnail_size( app_settings.big_icon_size,
+ app_settings.small_icon_size );
+
+- check_icon_theme();
++/* check_icon_theme();*/
+ folder_initialized = TRUE;
+ }
+
+Index: pcmanfm-0.5/src/main-window.c
+===================================================================
+--- pcmanfm-0.5.orig/src/main-window.c
++++ pcmanfm-0.5/src/main-window.c
+@@ -633,6 +633,7 @@
+ gtk_widget_grab_focus ( GTK_WIDGET( main_window->address_bar ) );
+
+ #ifdef SUPER_USER_CHECKS
++#if 0
+ /* Create warning bar for super user */
+ if ( geteuid() == 0 ) /* Run as super user! */
+ {
+@@ -648,6 +649,7 @@
+ main_window->status_bar, FALSE, FALSE, 2 );
+ }
+ #endif
++#endif
+
+ /* Create client area */
+ main_window->notebook = gtk_notebook_new();