[gtk+] tests: Remove unused variable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: Remove unused variable
- Date: Thu, 11 Feb 2016 02:46:27 +0000 (UTC)
commit 34db80c28b11f147dd0c2389a3fda0e013ad1bb9
Author: Benjamin Otte <otte gnome org>
Date: Sun Feb 7 19:18:00 2016 +0100
tests: Remove unused variable
tests/gtkoffscreenbox.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c
index 2fb20ef..f0a8225 100644
--- a/tests/gtkoffscreenbox.c
+++ b/tests/gtkoffscreenbox.c
@@ -252,7 +252,6 @@ gtk_offscreen_box_realize (GtkWidget *widget)
{
GtkOffscreenBox *offscreen_box = GTK_OFFSCREEN_BOX (widget);
GtkAllocation allocation, child_area;
- GtkStyleContext *context;
GdkWindow *window;
GdkWindowAttr attributes;
gint attributes_mask;
@@ -345,8 +344,6 @@ gtk_offscreen_box_realize (GtkWidget *widget)
g_signal_connect (offscreen_box->offscreen_window2, "from-embedder",
G_CALLBACK (offscreen_window_from_parent2), offscreen_box);
- context = gtk_widget_get_style_context (widget);
-
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]