summaryrefslogtreecommitdiff
path: root/gtk/gtkarrow.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-06 11:29:31 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-06 11:37:06 +0100
commit24bafd8693e88b9b1635bbd6d1401ceb68ca7809 (patch)
tree17f3aa56775e6fe7dfeb1c2974e9496ad5b11610 /gtk/gtkarrow.c
parent2d4b7b263013fb20af740311af1f2890963737c5 (diff)
downloadgtk+-24bafd8693e88b9b1635bbd6d1401ceb68ca7809.tar.gz
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
Use new API instead: gtk_widget_set_has_window () https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkarrow.c')
-rw-r--r--gtk/gtkarrow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkarrow.c b/gtk/gtkarrow.c
index 22a5870fe0..5a432d5cf8 100644
--- a/gtk/gtkarrow.c
+++ b/gtk/gtkarrow.c
@@ -146,7 +146,7 @@ gtk_arrow_get_property (GObject *object,
static void
gtk_arrow_init (GtkArrow *arrow)
{
- GTK_WIDGET_SET_FLAGS (arrow, GTK_NO_WINDOW);
+ gtk_widget_set_has_window (GTK_WIDGET (arrow), FALSE);
GTK_WIDGET (arrow)->requisition.width = MIN_ARROW_SIZE + GTK_MISC (arrow)->xpad * 2;
GTK_WIDGET (arrow)->requisition.height = MIN_ARROW_SIZE + GTK_MISC (arrow)->ypad * 2;