summaryrefslogtreecommitdiff
path: root/gtk/gtkhandlebox.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-13 19:57:42 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-13 19:57:42 +0000
commit463aab93dd04bb815f13ff8f17019071162a8ac3 (patch)
tree539f4100082e7cb0fcb1a1ba449e3b7791eb4cfd /gtk/gtkhandlebox.c
parent9a5d4a2ff9e9117b731418d0deafd4204cace1c4 (diff)
downloadgtk+-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.c5
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;