Remove the focus signal from the conversation pane. gtk4

Sun, 28 Aug 2022 01:13:40 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Sun, 28 Aug 2022 01:13:40 -0500
branch
gtk4
changeset 41608
a0a447f4e151
parent 41607
8d14b5f6585e
child 41609
40c35d54cc66

Remove the focus signal from the conversation pane.

I _think_ this was trying to make any focus goto the editor, but boxes don't
support this signal anymore and we have some more shuffling to do here so it's
not really worth the time to fix it at the moment.

Testing Done:
Ran and verified the `GWarning` was gone.

Reviewed at https://reviews.imfreedom.org/r/1666/

pidgin/gtkconv.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkconv.c	Fri Aug 26 05:10:22 2022 -0500
+++ b/pidgin/gtkconv.c	Sun Aug 28 01:13:40 2022 -0500
@@ -1727,10 +1727,6 @@
 		purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/show_formatting_toolbar")
 	);
 
-	g_signal_connect_swapped(G_OBJECT(pane), "focus",
-	                         G_CALLBACK(gtk_widget_grab_focus),
-	                         gtkconv->editor);
-
 	pidgin_conv_placement_place(gtkconv);
 }
 

mercurial