pidgin/pidgin

Parents f053e7fdd25d
Children ef32e25a3b78
Make sure all of the final types in pidgin plugins are defined as such

Testing Done:
Loaded both plugins and verified their dialogs still worked.

Reviewed at https://reviews.imfreedom.org/r/2923/
--- a/pidgin/plugins/disco/gtkdisco.c Tue Jan 23 00:07:01 2024 -0600
+++ b/pidgin/plugins/disco/gtkdisco.c Tue Jan 23 00:10:07 2024 -0600
@@ -418,8 +418,8 @@
/******************************************************************************
* GObject implementation
*****************************************************************************/
-
-G_DEFINE_DYNAMIC_TYPE(PidginDiscoDialog, pidgin_disco_dialog, GTK_TYPE_DIALOG)
+G_DEFINE_DYNAMIC_TYPE_EXTENDED(PidginDiscoDialog, pidgin_disco_dialog,
+ GTK_TYPE_DIALOG, G_TYPE_FLAG_FINAL, {})
static void
pidgin_disco_dialog_class_init(PidginDiscoDialogClass *klass)
--- a/pidgin/plugins/disco/xmppdiscoservice.c Tue Jan 23 00:07:01 2024 -0600
+++ b/pidgin/plugins/disco/xmppdiscoservice.c Tue Jan 23 00:10:07 2024 -0600
@@ -96,7 +96,8 @@
/******************************************************************************
* GObject implementation
*****************************************************************************/
-G_DEFINE_DYNAMIC_TYPE(XmppDiscoService, xmpp_disco_service, G_TYPE_OBJECT)
+G_DEFINE_DYNAMIC_TYPE_EXTENDED(XmppDiscoService, xmpp_disco_service,
+ G_TYPE_OBJECT, G_TYPE_FLAG_FINAL, {})
static void
xmpp_disco_service_get_property(GObject *object, guint prop_id, GValue *value,
--- a/pidgin/plugins/xmppconsole/xmppconsole.c Tue Jan 23 00:07:01 2024 -0600
+++ b/pidgin/plugins/xmppconsole/xmppconsole.c Tue Jan 23 00:10:07 2024 -0600
@@ -77,7 +77,8 @@
} message;
};
-G_DEFINE_DYNAMIC_TYPE(PidginXmppConsole, pidgin_xmpp_console, GTK_TYPE_WINDOW)
+G_DEFINE_DYNAMIC_TYPE_EXTENDED(PidginXmppConsole, pidgin_xmpp_console,
+ GTK_TYPE_WINDOW, G_TYPE_FLAG_FINAL, {})
static PidginXmppConsole *console = NULL;