summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertoggle.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-07-13 18:49:08 +0200
committerTimm Bäder <mail@baedert.org>2019-07-14 10:08:04 +0200
commit38f4a7708e14af221efc901bfe37b56463f2bb15 (patch)
tree1893cbb5313ad1519350c20eed0943236f99371b /gtk/gtkcellrenderertoggle.c
parent6abcd8d013fdd8a8d60df47771c1e7680a3e1d0a (diff)
downloadgtk+-38f4a7708e14af221efc901bfe37b56463f2bb15.tar.gz
Remove some dead assignments
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r--gtk/gtkcellrenderertoggle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 7fbeebda86..15572ec6cc 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -408,7 +408,6 @@ gtk_cell_renderer_toggle_snapshot (GtkCellRenderer *cell,
GtkBorder padding, border;
GtkCssImageBuiltinType image_type;
- context = gtk_widget_get_style_context (widget);
gtk_cell_renderer_toggle_get_size (cell, widget, cell_area,
&x_offset, &y_offset,
&width, &height);