diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-09 21:38:35 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-09 21:39:43 +0100 |
commit | cb8483b0a62e5e8e0004173a9104ffda5f3a030b (patch) | |
tree | fafd365ee2ab05512da2c9aecd6a321c00291e9a /gtk/gtkwindow.c | |
parent | f8932d643d58b515a45ec17a62320197cf087f44 (diff) | |
download | gtk+-cb8483b0a62e5e8e0004173a9104ffda5f3a030b.tar.gz |
gtk: Remove unneeded gtk_snapshot_push()/pop() calls
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r-- | gtk/gtkwindow.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 0e9678ee21..c6600c2574 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -9392,7 +9392,6 @@ gtk_window_snapshot (GtkWidget *widget, GtkAllocation allocation; GtkBorder window_border; gint title_height; - graphene_rect_t bounds; GList *l; context = gtk_widget_get_style_context (widget); @@ -9400,10 +9399,6 @@ gtk_window_snapshot (GtkWidget *widget, get_shadow_width (GTK_WINDOW (widget), &window_border); _gtk_widget_get_allocation (widget, &allocation); - graphene_rect_init (&bounds, allocation.x, allocation.y, allocation.width, allocation.height); - - gtk_snapshot_push (snapshot, &bounds, "Window Decoration"); - if (priv->client_decorated && priv->decorated && !priv->fullscreen && @@ -9480,8 +9475,6 @@ gtk_window_snapshot (GtkWidget *widget, } gtk_debug_updates_snapshot (widget, snapshot); - - gtk_snapshot_pop (snapshot); } /** |