summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-21 12:36:47 +0300
committerMonsta <[email protected]>2015-07-27 21:55:52 +0300
commit568260948bc10e6ac483619e045ac7cbd249ce08 (patch)
tree881ab29b5ca0340afbccf0bbeb9b5d1aff1a14a0
parent90f97916e28326bcc4481a7cef72705ee359d361 (diff)
downloadmate-control-center-568260948bc10e6ac483619e045ac7cbd249ce08.tar.bz2
mate-control-center-568260948bc10e6ac483619e045ac7cbd249ce08.tar.xz
keyboard properties: don't set parent widget on show layout dialog
fixes a GTK+ warning
-rw-r--r--capplets/keyboard/mate-keyboard-properties-xkblt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkblt.c b/capplets/keyboard/mate-keyboard-properties-xkblt.c
index b23fd750..b6107306 100644
--- a/capplets/keyboard/mate-keyboard-properties-xkblt.c
+++ b/capplets/keyboard/mate-keyboard-properties-xkblt.c
@@ -359,7 +359,6 @@ show_selected_layout (GtkWidget * button, GtkBuilder * dialog)
char *descr = xkb_layout_description_utf8 (id);
GtkWidget *parent = WID ("keyboard_dialog");
GtkWidget *popup = matekbd_keyboard_drawing_new_dialog (idx, descr);
- gtk_widget_set_parent (popup, parent);
clear_xkb_elements_list (layouts_list);
g_free (descr);
}