summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgnomekbd/gkbd-keyboard-drawing.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c
index 81cab11..f17b204 100644
--- a/libgnomekbd/gkbd-keyboard-drawing.c
+++ b/libgnomekbd/gkbd-keyboard-drawing.c
@@ -1537,12 +1537,9 @@ size_allocate (GtkWidget * widget,
{
GkbdKeyboardDrawingRenderContext *context = drawing->renderContext;
- if (!context_setup_scaling (context, drawing,
- allocation->width, allocation->height,
- 50, 50))
- return;
-
- gtk_widget_set_allocation (GTK_WIDGET (drawing), allocation);
+ context_setup_scaling (context, drawing,
+ allocation->width, allocation->height,
+ 50, 50);
}
static gint