aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/totem/files/gtkonly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/totem/files/gtkonly.patch')
-rw-r--r--recipes/totem/files/gtkonly.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes/totem/files/gtkonly.patch b/recipes/totem/files/gtkonly.patch
new file mode 100644
index 0000000000..8a7fbd2a0b
--- /dev/null
+++ b/recipes/totem/files/gtkonly.patch
@@ -0,0 +1,38 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- totem-1.0.4/src/totem.c~gtkonly
++++ totem-1.0.4/src/totem.c
+@@ -1667,8 +1667,10 @@
+ totem_action_set_mrl_and_play (totem, mrl);
+ g_free (mrl);
+
++#ifndef HAVE_GTK_ONLY
+ gnome_entry_append_history (GNOME_ENTRY (gentry),
+ TRUE, uri);
++#endif
+ }
+ }
+
+@@ -3593,7 +3595,9 @@
+ /* Properties */
+ totem->properties = bacon_video_widget_properties_new ();
+
++#ifndef HAVE_GTK_ONLY
+ totem_session_setup (totem, argv);
++#endif
+ totem_setup_recent (totem);
+ totem_callback_connect (totem);
+ totem_setup_window (totem);
+@@ -3617,7 +3621,9 @@
+ /* Command-line handling */
+ if (totem_options_process_late (totem, &argc, &argv) != FALSE)
+ {
++#ifndef HAVE_GTK_ONLY
+ totem_session_restore (totem, argv);
++#endif
+ } else if (argc >= 1 && totem_action_open_files (totem, argv)) {
+ totem_action_play_pause (totem);
+ } else {