Skip to content

Commit

Permalink
notification: Bump interface to version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jsparber committed Apr 5, 2024
1 parent 653a463 commit 60db472
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/org.freedesktop.portal.Notification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#org.freedesktop.portal.Notification::ActionInvoked signal
to the application.
This documentation describes version 1 of this interface.
This documentation describes version 2 of this interface.
-->
<interface name="org.freedesktop.portal.Notification">
<!--
Expand Down
2 changes: 1 addition & 1 deletion src/notification.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ notification_iface_init (XdpDbusNotificationIface *iface)
static void
notification_init (Notification *notification)
{
xdp_dbus_notification_set_version (XDP_DBUS_NOTIFICATION (notification), 1);
xdp_dbus_notification_set_version (XDP_DBUS_NOTIFICATION (notification), 2);
g_object_bind_property (G_OBJECT (impl), "supported-options",
G_OBJECT (notification), "supported-options",
G_BINDING_SYNC_CREATE);
Expand Down
2 changes: 1 addition & 1 deletion tests/test-portals.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ DEFINE_TEST_EXISTS(game_mode, GAME_MODE, 4)
DEFINE_TEST_EXISTS(inhibit, INHIBIT, 3)
DEFINE_TEST_EXISTS(location, LOCATION, 1)
DEFINE_TEST_EXISTS(network_monitor, NETWORK_MONITOR, 3)
DEFINE_TEST_EXISTS(notification, NOTIFICATION, 1)
DEFINE_TEST_EXISTS(notification, NOTIFICATION, 2)
DEFINE_TEST_EXISTS(open_uri, OPEN_URI, 3)
DEFINE_TEST_EXISTS(print, PRINT, 2)
DEFINE_TEST_EXISTS(proxy_resolver, PROXY_RESOLVER, 1)
Expand Down

0 comments on commit 60db472

Please sign in to comment.