pidgin/gtkutils.c

changeset 42833
b83bb3a80b7a
parent 42716
268ffbddb677
--- a/pidgin/gtkutils.c	Tue Aug 06 00:00:47 2024 -0500
+++ b/pidgin/gtkutils.c	Tue Aug 06 00:14:25 2024 -0500
@@ -59,7 +59,6 @@
 	GList *windows = NULL;
 	GtkWindow *parent = NULL;
 	gpointer parent_from;
-	PurpleNotifyType notify_type;
 
 	parent_from = g_object_get_data(G_OBJECT(widget), "pidgin-parent-from");
 	if (purple_request_is_valid_ui_handle(parent_from, NULL)) {
@@ -69,13 +68,6 @@
 				pidgin_request_get_dialog_window(parent_from)));
 		return TRUE;
 	}
-	if (purple_notify_is_valid_ui_handle(parent_from, &notify_type) &&
-		notify_type == PURPLE_NOTIFY_MESSAGE)
-	{
-		gtk_window_set_transient_for(GTK_WINDOW(widget),
-			gtk_window_get_transient_for(GTK_WINDOW(parent_from)));
-		return TRUE;
-	}
 
 	windows = gtk_window_list_toplevels();
 	while (windows) {

mercurial