]> git.sesse.net Git - vlc/commitdiff
Adding patch for using GPE specific libraries.
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 6 Oct 2002 19:59:21 +0000 (19:59 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sun, 6 Oct 2002 19:59:21 +0000 (19:59 +0000)
ipkg/gpe.patch [new file with mode: 0644]

diff --git a/ipkg/gpe.patch b/ipkg/gpe.patch
new file mode 100644 (file)
index 0000000..da36273
--- /dev/null
@@ -0,0 +1,26 @@
+--- familiar.c Wed Oct  2 23:41:50 2002
++++ familiar-gpe.c     Sun Oct  6 22:01:23 2002
+@@ -32,6 +32,7 @@
+ #include <videolan/vlc.h>
+ #include <gtk/gtk.h>
++#include <gpe/init.h>
+ #include "stream_control.h"
+ #include "input_ext-intf.h"
+@@ -178,12 +179,9 @@
+     int    i_args   = 1;
+     int    i_dummy  = 0;
+-    /* Initialize Gtk+ */
+-    gtk_set_locale ();
+-
+-    /* gtk_init will register stuff with g_atexit, so we need to take
+-     * the global lock if we want to be able to intercept the calls */
+-    gtk_init( &i_args, &pp_args );
++   /* Initialize GPE interface */
++   if (gpe_application_init (&argc, &argv) == FALSE)
++        exit (1);     
+     /* Create some useful widgets that will certainly be used */
+ // FIXME: magic path