diff options
author | infirit <[email protected]> | 2015-09-06 23:44:34 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-09-07 00:57:10 +0200 |
commit | 4e5967f9fc43827b3037c08dad51c30f68f50ba6 (patch) | |
tree | 3d3ec6128535cc88c3362642697c33042f93be44 | |
parent | c6f92af6d0babc25b16c448d62b79c6e20db9e16 (diff) | |
download | libmatekbd-4e5967f9fc43827b3037c08dad51c30f68f50ba6.tar.bz2 libmatekbd-4e5967f9fc43827b3037c08dad51c30f68f50ba6.tar.xz |
Drop GtkObject usage
-rw-r--r-- | libmatekbd/matekbd-keyboard-drawing.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libmatekbd/matekbd-keyboard-drawing.c b/libmatekbd/matekbd-keyboard-drawing.c index 7e9f8d7..a02779c 100644 --- a/libmatekbd/matekbd-keyboard-drawing.c +++ b/libmatekbd/matekbd-keyboard-drawing.c @@ -2677,11 +2677,7 @@ matekbd_keyboard_drawing_new_dialog (gint group, gchar * group_name) g_object_set_data (G_OBJECT (dialog), "kbdraw", kbdraw); - #if GTK_CHECK_VERSION(3, 0, 0) - g_signal_connect_swapped(G_OBJECT(dialog), "destroy", G_CALLBACK(g_object_unref), g_object_get_data(G_OBJECT(dialog), "builderData")); - #else - g_signal_connect_swapped(GTK_OBJECT(dialog), "destroy", G_CALLBACK(g_object_unref), g_object_get_data(G_OBJECT(dialog), "builderData")); - #endif + g_signal_connect_swapped(dialog, "destroy", G_CALLBACK(g_object_unref), g_object_get_data(G_OBJECT(dialog), "builderData")); gtk_widget_show_all(dialog); |