summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-21 16:02:45 +0200
committerinfirit <[email protected]>2015-09-14 18:44:29 +0200
commit2d0ba5568ccc8d98746f2af3aa9c9ff4c1adca62 (patch)
tree25ac7024849ba2b9349a4e7141071f223d6197e7 /src/ui
parent2acee834bec5a86358772b3d88ea241beaffb669 (diff)
downloadmarco-2d0ba5568ccc8d98746f2af3aa9c9ff4c1adca62.tar.bz2
marco-2d0ba5568ccc8d98746f2af3aa9c9ff4c1adca62.tar.xz
Drop deprecated use of gtk_signal_connect_full
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/menu.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/ui/menu.c b/src/ui/menu.c
index 1dfc7140..07a7c371 100644
--- a/src/ui/menu.c
+++ b/src/ui/menu.c
@@ -440,20 +440,11 @@ meta_window_menu_new (MetaFrames *frames,
"workspace",
GINT_TO_POINTER (j));
- #if GTK_CHECK_VERSION(3, 0, 0)
g_signal_connect_data (G_OBJECT (submi),
"activate",
G_CALLBACK (activate_cb),
md,
(GClosureNotify) g_free, 0);
- #else
- gtk_signal_connect_full (GTK_OBJECT (submi),
- "activate",
- G_CALLBACK (activate_cb),
- NULL,
- md,
- g_free, FALSE, FALSE);
- #endif
gtk_menu_shell_append (GTK_MENU_SHELL (submenu), submi);
@@ -476,20 +467,11 @@ meta_window_menu_new (MetaFrames *frames,
md->menu = menu;
md->op = menuitem.op;
- #if GTK_CHECK_VERSION(3, 0, 0)
g_signal_connect_data (G_OBJECT (mi),
"activate",
G_CALLBACK (activate_cb),
md,
(GClosureNotify) g_free, 0);
- #else
- gtk_signal_connect_full (GTK_OBJECT (mi),
- "activate",
- G_CALLBACK (activate_cb),
- NULL,
- md,
- g_free, FALSE, FALSE);
- #endif
}
if (mi)