gdk/gdk.c gdk/gdkinternals.h gdk/win32/gdkmain-win32.c pass argc and argv

2002-07-16  Sven Neumann  <sven@gimp.org>

	* gdk/gdk.c
	* gdk/gdkinternals.h
	* gdk/win32/gdkmain-win32.c
	* gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
	_gdk_windowing_init() so that the backend has a chance to process
	the command-line arguments (GTK+-DirectFB needs this).
This commit is contained in:
Sven Neumann 2002-07-16 16:11:49 +00:00 committed by Sven Neumann
parent f07ab95c5f
commit 2f57f4684b
10 changed files with 62 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2002-07-16 Sven Neumann <sven@gimp.org>
* gdk/gdk.c
* gdk/gdkinternals.h
* gdk/win32/gdkmain-win32.c
* gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
_gdk_windowing_init() so that the backend has a chance to process
the command-line arguments (GTK+-DirectFB needs this).
2002-07-10 jacob berkman <jacob@ximian.com> 2002-07-10 jacob berkman <jacob@ximian.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the * gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the

View File

@ -1,3 +1,12 @@
2002-07-16 Sven Neumann <sven@gimp.org>
* gdk/gdk.c
* gdk/gdkinternals.h
* gdk/win32/gdkmain-win32.c
* gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
_gdk_windowing_init() so that the backend has a chance to process
the command-line arguments (GTK+-DirectFB needs this).
2002-07-10 jacob berkman <jacob@ximian.com> 2002-07-10 jacob berkman <jacob@ximian.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the * gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the

View File

@ -1,3 +1,12 @@
2002-07-16 Sven Neumann <sven@gimp.org>
* gdk/gdk.c
* gdk/gdkinternals.h
* gdk/win32/gdkmain-win32.c
* gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
_gdk_windowing_init() so that the backend has a chance to process
the command-line arguments (GTK+-DirectFB needs this).
2002-07-10 jacob berkman <jacob@ximian.com> 2002-07-10 jacob berkman <jacob@ximian.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the * gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the

View File

@ -1,3 +1,12 @@
2002-07-16 Sven Neumann <sven@gimp.org>
* gdk/gdk.c
* gdk/gdkinternals.h
* gdk/win32/gdkmain-win32.c
* gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
_gdk_windowing_init() so that the backend has a chance to process
the command-line arguments (GTK+-DirectFB needs this).
2002-07-10 jacob berkman <jacob@ximian.com> 2002-07-10 jacob berkman <jacob@ximian.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the * gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the

View File

@ -1,3 +1,12 @@
2002-07-16 Sven Neumann <sven@gimp.org>
* gdk/gdk.c
* gdk/gdkinternals.h
* gdk/win32/gdkmain-win32.c
* gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
_gdk_windowing_init() so that the backend has a chance to process
the command-line arguments (GTK+-DirectFB needs this).
2002-07-10 jacob berkman <jacob@ximian.com> 2002-07-10 jacob berkman <jacob@ximian.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the * gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the

View File

@ -1,3 +1,12 @@
2002-07-16 Sven Neumann <sven@gimp.org>
* gdk/gdk.c
* gdk/gdkinternals.h
* gdk/win32/gdkmain-win32.c
* gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
_gdk_windowing_init() so that the backend has a chance to process
the command-line arguments (GTK+-DirectFB needs this).
2002-07-10 jacob berkman <jacob@ximian.com> 2002-07-10 jacob berkman <jacob@ximian.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the * gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the

View File

@ -345,7 +345,7 @@ gdk_parse_args (int *argc,
/* Do any setup particular to the windowing system /* Do any setup particular to the windowing system
*/ */
_gdk_windowing_init (); _gdk_windowing_init (argc, argv);
} }
/** /**

View File

@ -231,8 +231,9 @@ void _gdk_colormap_real_destroy (GdkColormap *colormap);
void _gdk_cursor_destroy (GdkCursor *cursor); void _gdk_cursor_destroy (GdkCursor *cursor);
extern GdkArgDesc _gdk_windowing_args[]; extern GdkArgDesc _gdk_windowing_args[];
void _gdk_windowing_init (void); void _gdk_windowing_init (gint *argc,
void _gdk_windowing_set_default_display (GdkDisplay *display); gchar ***argv);
void _gdk_windowing_set_default_display (GdkDisplay *display);
void _gdk_windowing_window_get_offsets (GdkWindow *window, void _gdk_windowing_window_get_offsets (GdkWindow *window,
gint *x_offset, gint *x_offset,

View File

@ -67,7 +67,8 @@ DllMain(HINSTANCE hinstDLL,
} }
void void
_gdk_windowing_init (void) _gdk_windowing_init (gint *argc,
gchar ***argv)
{ {
gchar buf[10]; gchar buf[10];

View File

@ -96,7 +96,8 @@ GdkArgDesc _gdk_windowing_args[] = {
}; };
void void
_gdk_windowing_init (void) _gdk_windowing_init (gint *argc,
gchar ***argv)
{ {
_gdk_x11_initialize_locale (); _gdk_x11_initialize_locale ();