remove now unused arg variables.

Tue Sep 21 16:27:19 2004  Manish Singh  <yosh@gimp.org>

        * gdk/gdk.c: remove now unused arg variables.

        * gdk/gdkinternals.h: declare _gdk_windowing_init ().

        * gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args ()
        here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.
This commit is contained in:
Manish Singh 2004-09-21 23:35:18 +00:00 committed by Manish Singh
parent 34059cf293
commit 1d3846451d
7 changed files with 39 additions and 3 deletions

View File

@ -1,3 +1,12 @@
Tue Sep 21 16:27:19 2004 Manish Singh <yosh@gimp.org>
* gdk/gdk.c: remove now unused arg variables.
* gdk/gdkinternals.h: declare _gdk_windowing_init ().
* gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args ()
here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.
2004-09-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):

View File

@ -1,3 +1,12 @@
Tue Sep 21 16:27:19 2004 Manish Singh <yosh@gimp.org>
* gdk/gdk.c: remove now unused arg variables.
* gdk/gdkinternals.h: declare _gdk_windowing_init ().
* gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args ()
here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.
2004-09-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):

View File

@ -1,3 +1,12 @@
Tue Sep 21 16:27:19 2004 Manish Singh <yosh@gimp.org>
* gdk/gdk.c: remove now unused arg variables.
* gdk/gdkinternals.h: declare _gdk_windowing_init ().
* gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args ()
here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.
2004-09-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):

View File

@ -1,3 +1,12 @@
Tue Sep 21 16:27:19 2004 Manish Singh <yosh@gimp.org>
* gdk/gdk.c: remove now unused arg variables.
* gdk/gdkinternals.h: declare _gdk_windowing_init ().
* gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args ()
here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.
2004-09-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):

View File

@ -53,8 +53,6 @@ static int gdk_initialized = 0; /* 1 if the library is initialized,
*/
static gchar *gdk_progclass = NULL;
static gint gdk_argc = 0;
static gchar **gdk_argv = NULL;
#ifdef G_ENABLE_DEBUG
static const GDebugKey gdk_debug_keys[] = {

View File

@ -238,6 +238,8 @@ void _gdk_colormap_real_destroy (GdkColormap *colormap);
void _gdk_cursor_destroy (GdkCursor *cursor);
void _gdk_windowing_init (void);
extern GOptionEntry _gdk_windowing_args[];
void _gdk_windowing_set_default_display (GdkDisplay *display);

View File

@ -437,7 +437,7 @@ do_pre_parse_initialization (int *argc,
g_warning ("Locale not supported by C library.\n\tUsing the fallback 'C' locale.");
}
gdk_pre_parse_libgtk_only ();
gdk_parse_args (argc, argv);
gdk_event_handler_set ((GdkEventFunc)gtk_main_do_event, NULL, NULL);
#ifdef G_ENABLE_DEBUG