Skip to content

Commit 6cb0d0b

Browse files
committed
notification: Bump interface to version 2
1 parent 50c004c commit 6cb0d0b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

data/org.freedesktop.portal.Notification.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#org.freedesktop.portal.Notification::ActionInvoked signal
4242
to the application.
4343
44-
This documentation describes version 1 of this interface.
44+
This documentation describes version 2 of this interface.
4545
-->
4646
<interface name="org.freedesktop.portal.Notification">
4747
<!--

src/notification.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ notification_iface_init (XdpDbusNotificationIface *iface)
12771277
static void
12781278
notification_init (Notification *notification)
12791279
{
1280-
xdp_dbus_notification_set_version (XDP_DBUS_NOTIFICATION (notification), 1);
1280+
xdp_dbus_notification_set_version (XDP_DBUS_NOTIFICATION (notification), 2);
12811281
g_object_bind_property (G_OBJECT (impl), "supported-options",
12821282
G_OBJECT (notification), "supported-options",
12831283
G_BINDING_SYNC_CREATE);

tests/test-portals.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ DEFINE_TEST_EXISTS(game_mode, GAME_MODE, 4)
450450
DEFINE_TEST_EXISTS(inhibit, INHIBIT, 3)
451451
DEFINE_TEST_EXISTS(location, LOCATION, 1)
452452
DEFINE_TEST_EXISTS(network_monitor, NETWORK_MONITOR, 3)
453-
DEFINE_TEST_EXISTS(notification, NOTIFICATION, 1)
453+
DEFINE_TEST_EXISTS(notification, NOTIFICATION, 2)
454454
DEFINE_TEST_EXISTS(open_uri, OPEN_URI, 3)
455455
DEFINE_TEST_EXISTS(print, PRINT, 2)
456456
DEFINE_TEST_EXISTS(proxy_resolver, PROXY_RESOLVER, 1)

0 commit comments

Comments
 (0)