[gtk+] tests: Remove useless calls to gtk_widget_style_attach()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: Remove useless calls to gtk_widget_style_attach()
- Date: Tue, 11 Jan 2011 15:50:32 +0000 (UTC)
commit b40dc528f65c2275eb066e2b43ba283a31122d72
Author: Benjamin Otte <otte redhat com>
Date: Tue Jan 11 16:40:16 2011 +0100
tests: Remove useless calls to gtk_widget_style_attach()
tests/cellareascaffold.c | 2 --
tests/gtkoffscreenbox.c | 1 -
2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/tests/cellareascaffold.c b/tests/cellareascaffold.c
index c623b20..ddd5f2a 100644
--- a/tests/cellareascaffold.c
+++ b/tests/cellareascaffold.c
@@ -337,8 +337,6 @@ cell_area_scaffold_realize (GtkWidget *widget)
priv->event_window = gdk_window_new (window, &attributes, attributes_mask);
gdk_window_set_user_data (priv->event_window, widget);
-
- gtk_widget_style_attach (widget);
}
static void
diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c
index 0afaa0b..7aeb82c 100644
--- a/tests/gtkoffscreenbox.c
+++ b/tests/gtkoffscreenbox.c
@@ -345,7 +345,6 @@ gtk_offscreen_box_realize (GtkWidget *widget)
g_signal_connect (offscreen_box->offscreen_window2, "from-embedder",
G_CALLBACK (offscreen_window_from_parent2), offscreen_box);
- gtk_widget_style_attach (widget);
context = gtk_widget_get_style_context (widget);
gtk_style_context_set_background (context, window);
gtk_style_context_set_background (context, offscreen_box->offscreen_window1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]