diff options
author | Anders Carlsson <andersca@gnome.org> | 2004-09-05 15:09:55 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@src.gnome.org> | 2004-09-05 15:09:55 +0000 |
commit | 04d65a6d3ddc29f8956302c0b9404e1e1825716f (patch) | |
tree | bb358b538e6f206ccbfe2fe0f0bbd27012d70e49 /gdk/gdkinternals.h | |
parent | b2e8a932e6961fd70e9178225eb917c6dd40db0b (diff) | |
download | gdk-pixbuf-04d65a6d3ddc29f8956302c0b9404e1e1825716f.tar.gz |
Make gtk argument parsing use goption. Add gtk_get_option_group and
2004-09-05 Anders Carlsson <andersca@gnome.org>
* gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
(gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
(gdk_parse_args):
* gdk/gdk.h:
* gdk/gdkinternals.h:
* gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
* gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
* gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
* gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
(gtk_arg_module_cb), (gtk_arg_warnings_cb),
(do_pre_parse_initialization), (do_post_parse_initialization),
(pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
(gtk_init_with_args), (gtk_parse_args):
* gtk/gtkmain.h:
Make gtk argument parsing use goption. Add gtk_get_option_group and
gtk_init_with_args.
* tests/testtreemodel.c: (main):
Use gtk_init_with_args.
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r-- | gdk/gdkinternals.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index f9d3c0279..1b3ccb4de 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -238,9 +238,7 @@ void _gdk_colormap_real_destroy (GdkColormap *colormap); void _gdk_cursor_destroy (GdkCursor *cursor); -extern GdkArgDesc _gdk_windowing_args[]; -void _gdk_windowing_init (gint *argc, - gchar ***argv); +extern GOptionEntry _gdk_windowing_args[]; void _gdk_windowing_set_default_display (GdkDisplay *display); gchar *_gdk_windowing_substitute_screen_number (const gchar *display_name, @@ -327,9 +325,6 @@ GType _gdk_pixmap_impl_get_type (void) G_GNUC_CONST; void _gdk_image_exit (void); void _gdk_windowing_exit (void); -void _gdk_get_command_line_args (int *argc, - char ***argv); - #ifdef __cplusplus } #endif /* __cplusplus */ |