diff options
author | monsta <[email protected]> | 2016-02-04 12:26:22 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-02-04 12:26:22 +0300 |
commit | 529814000d3bdd36675d5a4bf7395f49600c5332 (patch) | |
tree | 9bc52b052824aa160e84aa00cf1b4ee5cea36416 | |
parent | 9067183f24fa846e02fb998ca1b466226c3bdd03 (diff) | |
download | mate-control-center-529814000d3bdd36675d5a4bf7395f49600c5332.tar.bz2 mate-control-center-529814000d3bdd36675d5a4bf7395f49600c5332.tar.xz |
remove some unused variables
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkblt.c | 1 | ||||
-rw-r--r-- | libslab/shell-window.c | 3 |
2 files changed, 1 insertions, 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); |