[libwnck] tasklist: Do not add same signal handler twice for drag_data_get
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck] tasklist: Do not add same signal handler twice for drag_data_get
- Date: Fri, 12 Aug 2011 11:05:25 +0000 (UTC)
commit 7b6455ce1078e7ced9619cfc06f3f401241ad5b2
Author: Vincent Untz <vuntz gnome org>
Date: Fri Aug 12 13:04:16 2011 +0200
tasklist: Do not add same signal handler twice for drag_data_get
The duplicate was added by mistake, while allowing to reorder task
buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=652225
libwnck/tasklist.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index 7f9d7d0..2eb1766 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -3734,11 +3734,6 @@ wnck_task_create_widgets (WnckTask *task, GtkReliefStyle relief)
if (task->type == WNCK_TASK_WINDOW)
{
- g_signal_connect_object (G_OBJECT (task->button), "drag_data_get",
- G_CALLBACK (wnck_task_drag_data_get),
- G_OBJECT (task),
- 0);
-
g_signal_connect_object (G_OBJECT (task->button), "drag_data_received",
G_CALLBACK (wnck_task_drag_data_received),
G_OBJECT (task),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]