pidgin/plugins/xmppconsole/meson.build

Tue, 11 Apr 2023 00:17:15 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 11 Apr 2023 00:17:15 -0500
changeset 42202
2273647d24b0
parent 41116
dff0811ff40c
child 42468
3ea8d5befbe4
permissions
-rw-r--r--

Use gtk_widget_set_visible for everything

gtk_widget_show and gtk_widget_hide are deprecated in GTK 4.10. However,
gtk_widget_set_visible has been around forever so we just need to move to that.

I didn't test all of these and there are probably some that can still be
removed, but most of those are in code that is going to get refreshed in the
future so I didn't bother for now.

Testing Done:
I tested the join chat, add chat, and add buddy dialogs, as well as the contact added notification.

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

41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
1 xmppconsole_resource = gnome.compile_resources('xmppconsoleresources',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
2 'xmppconsole.gresource.xml',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
3 c_name : 'xmppconsole')
39805
17ef924a7e45 Convert XMPP console to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39803
diff changeset
4
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
5 library('xmppconsole',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
6 'xmppconsole.c', xmppconsole_resource,
41116
dff0811ff40c Enable structured logging in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41066
diff changeset
7 c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPConsole"'],
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
8 dependencies : [libpurple_dep, libpidgin_dep, glib],
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
9 name_prefix : '',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
10 install : true, install_dir : PIDGIN_PLUGINDIR)
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
11
41066
00e6bda3ef95 Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41011
diff changeset
12 devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir())

mercurial