diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-09-13 19:57:42 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-13 19:57:42 +0000 |
commit | 463aab93dd04bb815f13ff8f17019071162a8ac3 (patch) | |
tree | 539f4100082e7cb0fcb1a1ba449e3b7791eb4cfd /gtk/gtkhandlebox.c | |
parent | 9a5d4a2ff9e9117b731418d0deafd4204cace1c4 (diff) | |
download | gtk+-463aab93dd04bb815f13ff8f17019071162a8ac3.tar.gz |
Various cleanups. (#315360, Kjartan Maraas)
2005-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
Diffstat (limited to 'gtk/gtkhandlebox.c')
-rw-r--r-- | gtk/gtkhandlebox.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c index 884930c9fe..e5f535163d 100644 --- a/gtk/gtkhandlebox.c +++ b/gtk/gtkhandlebox.c @@ -667,11 +667,9 @@ gtk_handle_box_size_allocate (GtkWidget *widget, if (bin->child && GTK_WIDGET_VISIBLE (bin->child)) { - GtkWidget *child; GtkAllocation child_allocation; guint border_width; - child = bin->child; border_width = GTK_CONTAINER (widget)->border_width; child_allocation.x = border_width; @@ -904,8 +902,7 @@ gtk_handle_box_paint (GtkWidget *widget, { GtkBin *bin; GtkHandleBox *hb; - guint width; - guint height; + guint width, height; GdkRectangle rect; GdkRectangle dest; gint handle_position; |