[gnome-builder/wip/gtk4-port: 486/736] plugins/notification: port to GTK 4
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 486/736] plugins/notification: port to GTK 4
- Date: Tue, 26 Apr 2022 01:46:28 +0000 (UTC)
commit e0a0b99bd8b84f4cc43e27772ba16a701bb54d61
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 6 22:53:15 2022 -0700
plugins/notification: port to GTK 4
src/plugins/meson.build | 2 +-
src/plugins/notification/ide-notification-addin.c | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index d28d38c0b..8ea0b1103 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -101,7 +101,7 @@ subdir('messages')
subdir('modelines')
subdir('mono')
subdir('newcomers')
-#subdir('notification')
+subdir('notification')
#subdir('npm')
#subdir('omni-gutter')
#subdir('open-with-external')
diff --git a/src/plugins/notification/ide-notification-addin.c
b/src/plugins/notification/ide-notification-addin.c
index f3cac4fca..73484fcfd 100644
--- a/src/plugins/notification/ide-notification-addin.c
+++ b/src/plugins/notification/ide-notification-addin.c
@@ -20,8 +20,11 @@
#define G_LOG_DOMAIN "gbp-notification-addin"
+#include "config.h"
+
#include <glib/gi18n.h>
#include <gio/gio.h>
+
#include <libide-foundry.h>
#include "ide-notification-addin.h"
@@ -55,7 +58,7 @@ should_supress_message (IdeNotificationAddin *self,
g_assert (message != NULL);
if (self->last_msg_body == NULL ||
- !dzl_str_equal0 (self->last_msg_body, message) ||
+ !ide_str_equal0 (self->last_msg_body, message) ||
self->last_time + GRACE_PERIOD_USEC < g_get_monotonic_time ())
{
g_free (self->last_msg_body);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]