pidgin/gtkblist.c

changeset 40938
1c25eac61c19
parent 40937
2405744f8193
child 40948
2c312f084d84
--- a/pidgin/gtkblist.c	Mon Jun 07 23:10:41 2021 -0500
+++ b/pidgin/gtkblist.c	Tue Jun 08 01:45:21 2021 -0500
@@ -1920,14 +1920,6 @@
 
 #ifdef _WIN32
 	pidgin_blist_tooltip_destroy();
-
-	/* Unhook the tooltip-timeout since we don't want a tooltip
-	 * to appear and obscure the context menu we are about to show
-	   This is a workaround for GTK+ bug 107320. */
-	if (gtkblist->timeout) {
-		g_source_remove(gtkblist->timeout);
-		gtkblist->timeout = 0;
-	}
 #endif
 
 	/* Now display the menu */
@@ -2150,15 +2142,6 @@
 		GdkDragContext *drag_context, gpointer user_data)
 {
 	pidgin_blist_tooltip_destroy();
-
-
-	/* Unhook the tooltip-timeout since we don't want a tooltip
-	 * to appear and obscure the dragging operation.
-	 * This is a workaround for GTK+ bug 107320. */
-	if (gtkblist->timeout) {
-		g_source_remove(gtkblist->timeout);
-		gtkblist->timeout = 0;
-	}
 }
 #endif
 
@@ -3242,11 +3225,6 @@
 
 static gboolean pidgin_blist_leave_cb (GtkWidget *w, GdkEventCrossing *e, gpointer n)
 {
-	if (gtkblist->timeout) {
-		g_source_remove(gtkblist->timeout);
-		gtkblist->timeout = 0;
-	}
-
 	if (gtkblist->drag_timeout) {
 		g_source_remove(gtkblist->drag_timeout);
 		gtkblist->drag_timeout = 0;
@@ -6714,10 +6692,6 @@
 		g_source_remove(gtkblist->refresh_timer);
 		gtkblist->refresh_timer = 0;
 	}
-	if (gtkblist->timeout) {
-		g_source_remove(gtkblist->timeout);
-		gtkblist->timeout = 0;
-	}
 	if (gtkblist->drag_timeout) {
 		g_source_remove(gtkblist->drag_timeout);
 		gtkblist->drag_timeout = 0;

mercurial