[gtk+] testoffscreen: Remove deprecated calls
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] testoffscreen: Remove deprecated calls
- Date: Fri, 29 Jan 2016 16:54:22 +0000 (UTC)
commit 17d9e94682303bb9c2f3eb09a6d70a2497349c81
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jan 29 11:50:22 2016 -0500
testoffscreen: Remove deprecated calls
Not doing these calls doesn't seem to affect the demo,
so lets just remove them.
tests/gtkoffscreenbox.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c
index 29140a1..2fb20ef 100644
--- a/tests/gtkoffscreenbox.c
+++ b/tests/gtkoffscreenbox.c
@@ -346,9 +346,6 @@ gtk_offscreen_box_realize (GtkWidget *widget)
G_CALLBACK (offscreen_window_from_parent2), offscreen_box);
context = gtk_widget_get_style_context (widget);
- gtk_style_context_set_background (context, window);
- gtk_style_context_set_background (context, offscreen_box->offscreen_window1);
- gtk_style_context_set_background (context, offscreen_box->offscreen_window2);
gdk_window_show (offscreen_box->offscreen_window1);
gdk_window_show (offscreen_box->offscreen_window2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]