[gimp/gtk3-port: 145/226] app: port GimpOverlayBox to GtkStyleContext
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 145/226] app: port GimpOverlayBox to GtkStyleContext
- Date: Sat, 21 Sep 2013 13:03:17 +0000 (UTC)
commit b7f324a44e24d91a2bcbbf7e5980f59d9cfac3d9
Author: Michael Natterer <mitch gimp org>
Date: Wed Dec 29 15:51:06 2010 +0100
app: port GimpOverlayBox to GtkStyleContext
app/widgets/gimpoverlaybox.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimpoverlaybox.c b/app/widgets/gimpoverlaybox.c
index 6b61d4e..2795328 100644
--- a/app/widgets/gimpoverlaybox.c
+++ b/app/widgets/gimpoverlaybox.c
@@ -170,9 +170,8 @@ gimp_overlay_box_realize (GtkWidget *widget)
widget);
gtk_widget_style_attach (widget);
- gtk_style_set_background (gtk_widget_get_style (widget),
- gtk_widget_get_window (widget),
- GTK_STATE_NORMAL);
+ gtk_style_context_set_background (gtk_widget_get_style_context (widget),
+ gtk_widget_get_window (widget));
for (list = box->children; list; list = g_list_next (list))
gimp_overlay_child_realize (box, list->data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]