diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-06 11:51:33 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-06 11:51:33 +0100 |
commit | 1934de4b652e96af40db796191aff72dfdfd6b82 (patch) | |
tree | e50bfe9619a7d6c829d34d5bfe0678f09c4b2639 /gtk/gtksocket.c | |
parent | 24bafd8693e88b9b1635bbd6d1401ceb68ca7809 (diff) | |
download | gtk+-1934de4b652e96af40db796191aff72dfdfd6b82.tar.gz |
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
Use new API instead: gtk_widget_set_realized ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r-- | gtk/gtksocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index fc15775a91..847ee9ff01 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -326,7 +326,7 @@ gtk_socket_realize (GtkWidget *widget) GdkWindowAttr attributes; gint attributes_mask; - GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED); + gtk_widget_set_realized (widget, TRUE); attributes.window_type = GDK_WINDOW_CHILD; attributes.x = widget->allocation.x; @@ -390,7 +390,7 @@ gtk_socket_unrealize (GtkWidget *widget) { GtkSocket *socket = GTK_SOCKET (widget); - GTK_WIDGET_UNSET_FLAGS (widget, GTK_REALIZED); + gtk_widget_set_realized (widget, FALSE); if (socket->plug_widget) { |