summaryrefslogtreecommitdiff
path: root/capplets/display
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-05 22:59:01 +0200
committerStefano Karapetsas <[email protected]>2013-10-05 22:59:01 +0200
commit46bb12414bfc1d3ea881d4eae7be0b44ed418b54 (patch)
treec8e201ba037fa043efbade80fb98670b76cbce1f /capplets/display
parent9f1904eeddfa21a9221d4fa00dd389aa50431ed1 (diff)
downloadmate-control-center-46bb12414bfc1d3ea881d4eae7be0b44ed418b54.tar.bz2
mate-control-center-46bb12414bfc1d3ea881d4eae7be0b44ed418b54.tar.xz
Fix some deprecations and remove some unused vars
Diffstat (limited to 'capplets/display')
-rw-r--r--capplets/display/xrandr-capplet.c6
1 files changed, 0 insertions, 6 deletions
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;
}
}