[gimp] app: build with GSEAL_ENABLE (don't access widget->requisition)
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: build with GSEAL_ENABLE (don't access widget->requisition)
- Date: Wed, 20 Oct 2010 17:10:13 +0000 (UTC)
commit 83407d230c332a8b9eab7cf5115a566070dc03e2
Author: Michael Natterer <mitch gimp org>
Date: Wed Oct 20 19:09:54 2010 +0200
app: build with GSEAL_ENABLE (don't access widget->requisition)
app/widgets/gimptagpopup.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/app/widgets/gimptagpopup.c b/app/widgets/gimptagpopup.c
index 7e2e03d..3a3d879 100644
--- a/app/widgets/gimptagpopup.c
+++ b/app/widgets/gimptagpopup.c
@@ -20,8 +20,6 @@
#include "config.h"
-#undef GSEAL_ENABLE
-
#include <stdlib.h>
#include <string.h>
@@ -365,8 +363,7 @@ gimp_tag_popup_constructor (GType type,
popup->scroll_step = 0;
}
- popup->tag_area->requisition.width = width;
- popup->tag_area->requisition.height = popup_height;
+ gtk_widget_set_size_request (popup->tag_area, width, popup_height);
gtk_window_move (GTK_WINDOW (popup), popup_rect.x, popup_rect.y);
gtk_window_resize (GTK_WINDOW (popup), popup_rect.width, popup_rect.height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]