switchboard-plug-printers: update to 2.1.10.
This commit is contained in:
parent
b44175f866
commit
42d9e2874e
3 changed files with 5 additions and 39 deletions
|
@ -1,11 +0,0 @@
|
|||
--- a/src/CUPSNotifier.vala 2018-11-28 12:34:33.000000000 +0100
|
||||
+++ b/src/CUPSNotifier.vala 2021-01-29 19:26:11.191992396 +0100
|
||||
@@ -63,7 +63,7 @@
|
||||
Bus.get_proxy.begin<NotifierDBus> (BusType.SYSTEM, "org.cups.cupsd.Notifier", "/org/cups/cupsd/Notifier", GLib.DBusProxyFlags.NONE, null, (obj, res) => {
|
||||
try {
|
||||
dbus_notifier = Bus.get_proxy.end (res);
|
||||
- ((GLib.DBusProxy) dbus_notifier).g_connection.signal_subscribe (null, "org.cups.cupsd.Notifier", null, "/org/cups/cupsd/Notifier", null, GLib.DBusSignalFlags.NONE, subscription_callback);
|
||||
+ ((GLib.DBusProxy) dbus_notifier).g_connection.signal_subscribe (null, "org.cups.cupsd.Notifier", null, "/org/cups/cupsd/Notifier", null, GLib.DBusSignalFlags.NONE, (GLib.DBusSignalCallback)subscription_callback);
|
||||
} catch (IOError e) {
|
||||
critical (e.message);
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
From 3175c2ebf106145a95355d2571e0a2aa4834e884 Mon Sep 17 00:00:00 2001
|
||||
From: Enerccio <admin@en-circle.com>
|
||||
Date: Tue, 17 Sep 2019 15:31:37 +0200
|
||||
Subject: [PATCH] Update cups.vapi (#118)
|
||||
|
||||
Fixed bug with compilation
|
||||
---
|
||||
vapi/cups.vapi | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/vapi/cups.vapi b/vapi/cups.vapi
|
||||
index 7f1b795..5dcdba6 100644
|
||||
--- a/vapi/cups.vapi
|
||||
+++ b/vapi/cups.vapi
|
||||
@@ -605,7 +605,7 @@ namespace CUPS {
|
||||
[CCode (cname = "ippAddBooleans")]
|
||||
private unowned Attribute _add_booleans (Tag group, string name, [CCode (array_length_pos = 0.9)] char[] values);
|
||||
public unowned Attribute add_booleans (Tag group, string name, bool[] values) {
|
||||
- char[] char_values;
|
||||
+ char[] char_values = {};
|
||||
foreach (var val in values) {
|
||||
char_values += val ? 1 : 0;
|
||||
}
|
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'switchboard-plug-printers'
|
||||
pkgname=switchboard-plug-printers
|
||||
version=2.1.6
|
||||
version=2.1.10
|
||||
revision=1
|
||||
build_style=meson
|
||||
hostmakedepends="pkg-config vala intltool"
|
||||
hostmakedepends="pkg-config vala gettext"
|
||||
makedepends="switchboard-devel granite-devel gtk+3-devel cups-devel"
|
||||
depends="cups-pk-helper"
|
||||
short_desc="Switchboard Printers Plug"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/elementary/${pkgname}"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=fe2c748e3737c3304ea8613d43d5ba8596f95499a65b8d13f93c4f702901f442
|
||||
homepage="https://github.com/elementary/switchboard-plug-printers"
|
||||
distfiles="https://github.com/elementary/switchboard-plug-printers/archive/${version}.tar.gz"
|
||||
checksum=448f6ae28fc4dacc2c329532e21aacc4ec7aa4af7d93bd6d7013002253faef3d
|
||||
|
|
Loading…
Reference in a new issue