[glibmm] Gio::Settings: fix type of 'key' parameter of writable-change-event signal
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::Settings: fix type of 'key' parameter of writable-change-event signal
- Date: Sat, 5 Nov 2016 16:23:16 +0000 (UTC)
commit d78ae1d81410bd7930aede831cdf1f15ae4920af
Author: Marcin Kolny <marcin kolny gmail com>
Date: Sat Nov 5 13:04:43 2016 +0100
Gio::Settings: fix type of 'key' parameter of writable-change-event signal
https://bugzilla.gnome.org/show_bug.cgi?id=773977
gio/src/gio_signals.defs | 4 ++--
gio/src/gio_signals.defs.patch | 18 ++++++++++++++++++
gio/src/settings.hg | 2 +-
3 files changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs
index 7af937c..31a2683 100644
--- a/gio/src/gio_signals.defs
+++ b/gio/src/gio_signals.defs
@@ -1049,7 +1049,7 @@
(return-type "gboolean")
(when "last")
(parameters
- '("guint" "p0")
+ '("GQuark" "p0")
)
)
@@ -1752,7 +1752,7 @@
(return-type "gboolean")
(when "last")
(parameters
- '("guint" "p0")
+ '("GQuark" "p0")
)
)
diff --git a/gio/src/gio_signals.defs.patch b/gio/src/gio_signals.defs.patch
index a7b07ba..06a331f 100644
--- a/gio/src/gio_signals.defs.patch
+++ b/gio/src/gio_signals.defs.patch
@@ -36,6 +36,24 @@
)
)
+@@ -1049,6 +1049,6 @@
+ (return-type "gboolean")
+ (when "last")
+ (parameters
+- '("guint" "p0")
++ '("GQuark" "p0")
+ )
+ )
+
+@@ -1752,6 +1752,6 @@
+ (return-type "gboolean")
+ (when "last")
+ (parameters
+- '("guint" "p0")
++ '("GQuark" "p0")
+ )
+ )
+
@@ -1824,8 +1824,8 @@
(return-type "void")
(when "last")
diff --git a/gio/src/settings.hg b/gio/src/settings.hg
index 49c1905..dbdbf20 100644
--- a/gio/src/settings.hg
+++ b/gio/src/settings.hg
@@ -215,7 +215,7 @@ _DEPRECATE_IFDEF_END
#m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)
_WRAP_SIGNAL(void changed(const Glib::ustring& key), "changed", detail_name key, two_signal_methods)
- _WRAP_SIGNAL(bool writable_change_event(guint key), "writable-change-event")
+ _WRAP_SIGNAL(bool writable_change_event(GQuark key), "writable-change-event")
_WRAP_SIGNAL(void writable_changed(const Glib::ustring& key), writable_changed)
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]