summaryrefslogtreecommitdiff
path: root/gtk/gtklayout.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/gtklayout.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/gtklayout.c')
-rw-r--r--gtk/gtklayout.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index 8f4197f653..2b55613f2f 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -103,19 +103,6 @@ static GdkFilterReturn gtk_layout_main_filter (GdkXEvent *gdk_xevent,
GdkEvent *event,
gpointer data);
-static gboolean gtk_layout_gravity_works (void);
-static void gtk_layout_set_static_gravity (GdkWindow *win,
- gboolean is_parent,
- gboolean on);
-
-static void gtk_layout_add_child_cb (GdkWindow *parent,
- GdkWindow *child,
- gpointer data);
-static void gtk_layout_remove_child_cb (GdkWindow *parent,
- GdkWindow *child,
- gpointer data);
-
-
static GtkWidgetClass *parent_class = NULL;
static gboolean gravity_works;