Skip to content

Commit

Permalink
YaruPlugin: define autoptr cleanup func
Browse files Browse the repository at this point in the history
This fixes the following build issue that slipped in in #193:

    yaru_plugin.cc:92:3: error: use of undeclared identifier 'glib_autoptr_cleanup_YaruPlugin'
  • Loading branch information
jpnurmi committed Sep 13, 2022
1 parent 8d20bbb commit 593359e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions linux/yaru_plugin.cc
Expand Up @@ -6,6 +6,8 @@
#define YARU_PLUGIN(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), yaru_plugin_get_type(), YaruPlugin))

G_DEFINE_AUTOPTR_CLEANUP_FUNC(YaruPlugin, g_object_unref)

struct _YaruPlugin {
GObject parent_instance;
gint theme_name_changed_id;
Expand Down

0 comments on commit 593359e

Please sign in to comment.