summaryrefslogtreecommitdiff
path: root/gtk/gtkmagnifier.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-24 21:41:53 +0100
committerBenjamin Otte <otte@redhat.com>2018-03-24 21:57:20 +0100
commit1cfa88ed913e795a88214a87388801d2850fa75e (patch)
tree9fcc62bf9dcf622cfe1afd9e405098b3111db157 /gtk/gtkmagnifier.c
parente84c6acc4fcced6065d494a20c1feae88877d6c0 (diff)
downloadgtk+-1cfa88ed913e795a88214a87388801d2850fa75e.tar.gz
snapshot: Remove renderer
Now that there's no longer a need to keep the renderer around for Cairo rendering, don't do that then.
Diffstat (limited to 'gtk/gtkmagnifier.c')
-rw-r--r--gtk/gtkmagnifier.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkmagnifier.c b/gtk/gtkmagnifier.c
index fbcab5733c..9b1e8b7a1b 100644
--- a/gtk/gtkmagnifier.c
+++ b/gtk/gtkmagnifier.c
@@ -115,8 +115,7 @@ gtk_magnifier_snapshot (GtkWidget *widget,
g_signal_handler_block (priv->inspected, priv->draw_handler);
- inspected_snapshot = gtk_snapshot_new (gtk_snapshot_get_renderer (snapshot),
- gtk_snapshot_get_record_names (snapshot),
+ inspected_snapshot = gtk_snapshot_new (gtk_snapshot_get_record_names (snapshot),
NULL,
"MagnifierSnapshot");