From 46bb12414bfc1d3ea881d4eae7be0b44ed418b54 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sat, 5 Oct 2013 22:59:01 +0200 Subject: Fix some deprecations and remove some unused vars --- capplets/display/xrandr-capplet.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'capplets/display') diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c index 433b25db..7b3d2057 100644 --- a/capplets/display/xrandr-capplet.c +++ b/capplets/display/xrandr-capplet.c @@ -229,7 +229,6 @@ add_key (GtkWidget *widget, GtkComboBox *box = GTK_COMBO_BOX (widget); GtkTreeModel *model = gtk_combo_box_get_model (box); GtkListStore *store = GTK_LIST_STORE (model); - gboolean retval; info.text = text; info.found = FALSE; @@ -248,11 +247,6 @@ add_key (GtkWidget *widget, 5, rotation, -1); - retval = TRUE; - } - else - { - retval = FALSE; } } -- cgit v1.2.1