summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kolny <marcin.kolny@gmail.com>2016-11-05 13:04:43 +0100
committerMarcin Kolny <marcin.kolny@gmail.com>2016-11-05 17:22:50 +0100
commitd78ae1d81410bd7930aede831cdf1f15ae4920af (patch)
tree572863ceac1ffb2b705a1ee4d32b29498dafe199
parent205bd350a538da7497de45b0cacf669e25dffcfd (diff)
downloadglibmm-d78ae1d81410bd7930aede831cdf1f15ae4920af.tar.gz
Gio::Settings: fix type of 'key' parameter of writable-change-event signal
https://bugzilla.gnome.org/show_bug.cgi?id=773977
-rw-r--r--gio/src/gio_signals.defs4
-rw-r--r--gio/src/gio_signals.defs.patch18
-rw-r--r--gio/src/settings.hg2
3 files changed, 21 insertions, 3 deletions
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs
index 7af937c9..31a26839 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 a7b07ba6..06a331f1 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 49c1905c..dbdbf201 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)
};