]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/totem/files/gtkonly.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / totem / files / gtkonly.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- totem-1.0.4/src/totem.c~gtkonly
7 +++ totem-1.0.4/src/totem.c
8 @@ -1667,8 +1667,10 @@
9                         totem_action_set_mrl_and_play (totem, mrl);
10                         g_free (mrl);
11  
12 +#ifndef HAVE_GTK_ONLY
13                         gnome_entry_append_history (GNOME_ENTRY (gentry),
14                                         TRUE, uri);
15 +#endif
16                 }
17         }
18  
19 @@ -3593,7 +3595,9 @@
20         /* Properties */
21         totem->properties = bacon_video_widget_properties_new ();
22  
23 +#ifndef HAVE_GTK_ONLY
24         totem_session_setup (totem, argv);
25 +#endif
26         totem_setup_recent (totem);
27         totem_callback_connect (totem);
28         totem_setup_window (totem);
29 @@ -3617,7 +3621,9 @@
30         /* Command-line handling */
31         if (totem_options_process_late (totem, &argc, &argv) != FALSE)
32         {
33 +#ifndef HAVE_GTK_ONLY
34                 totem_session_restore (totem, argv);
35 +#endif
36         } else if (argc >= 1 && totem_action_open_files (totem, argv)) {
37                         totem_action_play_pause (totem);
38         } else {