diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2011-01-04 02:09:11 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2011-01-04 03:06:12 +0100 |
commit | ddd12f3f19d60d4e700acf7e53d295df15c15cf0 (patch) | |
tree | 4ec2d91b8587eebf97376b54918a5fb7a4d3e2ea /gtk/gtksocket.c | |
parent | cb21085187d08eea561ccb1dc887bee4c6c66d32 (diff) | |
download | gtk+-ddd12f3f19d60d4e700acf7e53d295df15c15cf0.tar.gz |
Make GtkSocket use GtkStyleContext
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r-- | gtk/gtksocket.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index c3cf1911ce..90c0e9e596 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -391,9 +391,8 @@ gtk_socket_realize (GtkWidget *widget) gtk_widget_set_window (widget, window); gdk_window_set_user_data (window, socket); - gtk_widget_style_attach (widget); - gtk_style_set_background (gtk_widget_get_style (widget), - window, GTK_STATE_NORMAL); + gtk_style_context_set_background (gtk_widget_get_style_context (widget), + window); _gtk_socket_windowing_realize_window (socket); |