diff options
-rw-r--r-- | capplets/display/xrandr-capplet.c | 4 | ||||
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkblt.c | 2 | ||||
-rw-r--r-- | typing-break/main.c | 3 |
3 files changed, 4 insertions, 5 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); } diff --git a/typing-break/main.c b/typing-break/main.c index 2c3108b5..74df85bc 100644 --- a/typing-break/main.c +++ b/typing-break/main.c @@ -55,7 +55,6 @@ have_tray (void) int main (int argc, char *argv[]) { - DrWright *drwright; DrwSelection *selection; gboolean no_check = FALSE; const GOptionEntry options[] = { @@ -115,7 +114,7 @@ main (int argc, char *argv[]) } #endif /* HAVE_APP_INDICATOR */ - drwright = drwright_new (); + drwright_new (); gtk_main (); |