[libgnomekbd] call gtk_widget_set_allocation from size_allocate
- From: Sergey V. Udaltsov <svu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomekbd] call gtk_widget_set_allocation from size_allocate
- Date: Fri, 28 Jan 2011 01:38:14 +0000 (UTC)
commit b17364bbac14cf8fdb90d10346571e700489b95c
Author: Sergey V. Udaltsov <svu gnome org>
Date: Fri Jan 28 01:37:35 2011 +0000
call gtk_widget_set_allocation from size_allocate
And there is no need to invalidate - it will be done anyway
libgnomekbd/gkbd-keyboard-drawing.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c
index 8233b89..2845bcd 100644
--- a/libgnomekbd/gkbd-keyboard-drawing.c
+++ b/libgnomekbd/gkbd-keyboard-drawing.c
@@ -1496,7 +1496,7 @@ size_allocate (GtkWidget * widget,
50, 50))
return;
- gtk_widget_queue_draw (GTK_WIDGET (drawing));
+ gtk_widget_set_allocation (GTK_WIDGET (drawing), allocation);
}
static gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]