summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1999-02-24 16:29:47 +0000
committerTim Janik <timj@src.gnome.org>1999-02-24 16:29:47 +0000
commitc4fe78345e11dfd2ed909500cdc6000682d96304 (patch)
treea9db551c00b2a2ef3169ae3a6f532a6217e80955 /gtk/gtkmain.c
parent082c0c8975001303cd3a50f2160766c77fc7710b (diff)
downloadgtk+-c4fe78345e11dfd2ed909500cdc6000682d96304.tar.gz
warn about &widget->requisition, even for toplevels.
Wed Feb 24 11:19:12 1999 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_size_request): warn about &widget->requisition, even for toplevels. * gtk/gtkwindow.c (gtk_window_move_resize): request size into an automatic variable and check if our size has changed. when we decide to reallocate everything, we need to resize our own GdkWindow as well. * gtk/gtkmain.c: * gtk/gtkobject.c: hack time, make --gtk-debug=objects work even after gtk_type_init(), this is to "fix" gnome's arg parsing oddities. * gtk/gtktypeutils.h: don't segfault in GTK_CHECK_CLASS_TYPE and GTK_CHECK_TYPE upon NULL pointers. * gtk/gtklayout.c: removed bogus prototypes of gtk_layout_gravity_works, gtk_layout_set_static_gravity, gtk_layout_add_child_cb and gtk_layout_remove_child_cb to shut up compiler. * gtk/Makefile.am: added an empty rule gtkrc: : so make doesn't try to "update" gtkrc from gtkrc.c.
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 975e13f705..08f1e44120 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -178,6 +178,7 @@ gboolean
gtk_init_check (int *argc,
char ***argv)
{
+ extern void gtk_object_post_arg_parsing_init (void);
GSList *gtk_modules = NULL;
GSList *slist;
gchar *env_string = NULL;
@@ -385,6 +386,7 @@ gtk_init_check (int *argc,
gtk_colormap = gdk_colormap_get_system ();
gtk_type_init ();
+ gtk_object_post_arg_parsing_init ();
gtk_signal_init ();
gtk_rc_init ();