summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-06 23:44:34 +0200
committerinfirit <[email protected]>2015-09-07 00:57:10 +0200
commit4e5967f9fc43827b3037c08dad51c30f68f50ba6 (patch)
tree3d3ec6128535cc88c3362642697c33042f93be44
parentc6f92af6d0babc25b16c448d62b79c6e20db9e16 (diff)
downloadlibmatekbd-4e5967f9fc43827b3037c08dad51c30f68f50ba6.tar.bz2
libmatekbd-4e5967f9fc43827b3037c08dad51c30f68f50ba6.tar.xz
Drop GtkObject usage
-rw-r--r--libmatekbd/matekbd-keyboard-drawing.c6
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);