summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
Diffstat (limited to 'capplets')
-rw-r--r--capplets/display/xrandr-capplet.c4
-rw-r--r--capplets/keyboard/mate-keyboard-properties-xkblt.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index 4a538f43..7089a24e 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -1820,7 +1820,6 @@ on_area_paint (FooScrollArea *area,
gpointer data)
{
App *app = data;
- double scale;
GList *connected_outputs = NULL;
GList *list;
@@ -1829,10 +1828,11 @@ on_area_paint (FooScrollArea *area,
if (!app->current_configuration)
return;
- scale = compute_scale (app);
connected_outputs = list_connected_outputs (app, NULL, NULL);
#if 0
+ double scale;
+ scale = compute_scale (app);
g_debug ("scale: %f", scale);
#endif
diff --git a/capplets/keyboard/mate-keyboard-properties-xkblt.c b/capplets/keyboard/mate-keyboard-properties-xkblt.c
index b9971e65..115ffac0 100644
--- a/capplets/keyboard/mate-keyboard-properties-xkblt.c
+++ b/capplets/keyboard/mate-keyboard-properties-xkblt.c
@@ -357,7 +357,7 @@ show_selected_layout (GtkWidget * button, GtkBuilder * dialog)
GSList *layouts_list = xkb_layouts_get_selected_list ();
const gchar *id = g_slist_nth_data (layouts_list, idx);
char *descr = xkb_layout_description_utf8 (id);
- GtkWidget *popup = matekbd_keyboard_drawing_new_dialog (idx, descr);
+ matekbd_keyboard_drawing_new_dialog (idx, descr);
clear_xkb_elements_list (layouts_list);
g_free (descr);
}