mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
cinnamon-settings-daemon: fix build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
d74eef5c93
commit
009d5743e5
2 changed files with 29 additions and 1 deletions
|
@ -0,0 +1,28 @@
|
|||
Source: pullmoll
|
||||
Upstream: No
|
||||
Reason: Add wrapper because 2nd parameter for g_clear_pointer() is void (*func)(NotifyNotification* n)
|
||||
|
||||
--- plugins/housekeeping/csd-disk-space.c 2018-06-22 20:58:17.000000000 +0200
|
||||
+++ plugins/housekeeping/csd-disk-space.c 2018-10-26 09:48:30.754831801 +0200
|
||||
@@ -216,6 +216,12 @@
|
||||
}
|
||||
|
||||
static void
|
||||
+notify_close_callback (NotifyNotification *n)
|
||||
+{
|
||||
+ notify_notification_close (n, NULL);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
nemo_empty_trash_cb (GObject *object,
|
||||
GAsyncResult *res,
|
||||
gpointer _unused)
|
||||
@@ -796,7 +802,7 @@
|
||||
g_clear_object (&ldsm_monitor);
|
||||
g_clear_object (&settings);
|
||||
g_clear_object (&dialog);
|
||||
- g_clear_pointer (¬ification, notify_notification_close);
|
||||
+ g_clear_pointer (¬ification, notify_close_callback);
|
||||
g_slist_free_full (ignore_paths, g_free);
|
||||
ignore_paths = NULL;
|
||||
}
|
|
@ -6,7 +6,7 @@ short_desc="The Cinnamon Settings Daemon"
|
|||
build_style=gnu-configure
|
||||
configure_args=" --disable-static --disable-schemas-compile --disable-gconf"
|
||||
hostmakedepends="dbus-glib-devel gettext-devel glib-devel gnome-common
|
||||
gobject-introspection intltool pkg-config"
|
||||
gobject-introspection intltool libtool pkg-config"
|
||||
makedepends="cinnamon-desktop-devel elogind-devel ibus-devel json-glib-devel
|
||||
libSM-devel libcanberra-devel libgnomekbd-devel libgudev-devel libnotify-devel
|
||||
nss-devel polkit-devel pulseaudio-devel upower-devel"
|
||||
|
|
Loading…
Add table
Reference in a new issue