summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capplets/keyboard/mate-keyboard-properties-xkblt.c1
-rw-r--r--libslab/shell-window.c3
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);