]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkoptionmenu.c
Deprecate widget flag: GTK_WIDGET_REALIZED
[~andy/gtk] / gtk / gtkoptionmenu.c
index 5d75ed36289a4726cd42e300f50e8b881652ec16..37585de740c4f713a7ff8f78d15035ed79fd0cca 100644 (file)
@@ -461,7 +461,7 @@ gtk_option_menu_size_allocate (GtkWidget     *widget,
   border_width = GTK_CONTAINER (widget)->border_width;
 
   widget->allocation = *allocation;
-  if (GTK_WIDGET_REALIZED (widget))
+  if (gtk_widget_get_realized (widget))
     gdk_window_move_resize (button->event_window,
                            allocation->x + border_width, allocation->y + border_width,
                            allocation->width - border_width * 2, allocation->height - border_width * 2);