From 529814000d3bdd36675d5a4bf7395f49600c5332 Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 4 Feb 2016 12:26:22 +0300 Subject: remove some unused variables --- capplets/keyboard/mate-keyboard-properties-xkblt.c | 1 - libslab/shell-window.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/capplets/keyboard/mate-keyboard-properties-xkblt.c b/capplets/keyboard/mate-keyboard-properties-xkblt.c index b6107306..b9971e65 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkblt.c +++ b/capplets/keyboard/mate-keyboard-properties-xkblt.c @@ -357,7 +357,6 @@ 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 *parent = WID ("keyboard_dialog"); GtkWidget *popup = matekbd_keyboard_drawing_new_dialog (idx, descr); clear_xkb_elements_list (layouts_list); g_free (descr); diff --git a/libslab/shell-window.c b/libslab/shell-window.c index e09ae241..cf4a1498 100644 --- a/libslab/shell-window.c +++ b/libslab/shell-window.c @@ -157,11 +157,10 @@ shell_window_paint_window (GtkWidget * widget, cairo_t * cr, gpointer data) shell_window_paint_window (GtkWidget * widget, GdkEventExpose * event, gpointer data) #endif { - GtkWidget *left_pane, *right_pane; + GtkWidget *left_pane; GtkAllocation allocation; left_pane = SHELL_WINDOW (widget)->_left_pane; - right_pane = SHELL_WINDOW (widget)->_right_pane; gtk_widget_get_allocation (left_pane, &allocation); -- cgit v1.2.1