summaryrefslogtreecommitdiff
path: root/gtk/gtkeventbox.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-02 07:16:02 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-03 20:41:05 +0100
commit16a59ad9129c680833c584768e6a81b2ba365268 (patch)
tree8fb157b75372c73767d658bce9a6070a3d936fe9 /gtk/gtkeventbox.c
parent1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988 (diff)
downloadgtk+-16a59ad9129c680833c584768e6a81b2ba365268.tar.gz
Deprecate widget flag: GTK_WIDGET_REALIZED
Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkeventbox.c')
-rw-r--r--gtk/gtkeventbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c
index f6f57d9b32..7ac4f38ae4 100644
--- a/gtk/gtkeventbox.c
+++ b/gtk/gtkeventbox.c
@@ -244,7 +244,7 @@ gtk_event_box_set_visible_window (GtkEventBox *event_box,
if (visible_window != gtk_widget_get_has_window (widget))
{
- if (GTK_WIDGET_REALIZED (widget))
+ if (gtk_widget_get_realized (widget))
{
gboolean visible = gtk_widget_get_visible (widget);
@@ -330,7 +330,7 @@ gtk_event_box_set_above_child (GtkEventBox *event_box,
{
priv->above_child = above_child;
- if (GTK_WIDGET_REALIZED (widget))
+ if (gtk_widget_get_realized (widget))
{
if (!gtk_widget_get_has_window (widget))
{
@@ -522,7 +522,7 @@ gtk_event_box_size_allocate (GtkWidget *widget,
child_allocation.width = MAX (allocation->width - GTK_CONTAINER (widget)->border_width * 2, 0);
child_allocation.height = MAX (allocation->height - GTK_CONTAINER (widget)->border_width * 2, 0);
- if (GTK_WIDGET_REALIZED (widget))
+ if (gtk_widget_get_realized (widget))
{
priv = GTK_EVENT_BOX_GET_PRIVATE (widget);