[gtk/arnaudb/requires: 1/3] Drop “gtk+” plus sign in GtkBuilder <requires>.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/arnaudb/requires: 1/3] Drop “gtk+” plus sign in GtkBuilder <requires>.
- Date: Sat, 7 Nov 2020 13:18:29 +0000 (UTC)
commit 9b84ed1b5261a7de52fd377884fba2393da579fb
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sat Nov 7 11:03:52 2020 +0100
Drop “gtk+” plus sign in GtkBuilder <requires>.
gtk/gtkbuilder.c | 2 +-
gtk/gtkbuilderparser.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index b6663126cf..ef1237fccc 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -71,7 +71,7 @@
* element contains an `<object>` element which describes the child object.
* The target toolkit version(s) are described by <requires> elements,
* the “lib” attribute specifies the widget library in question (currently
- * the only supported value is “gtk+”) and the “version” attribute specifies
+ * the only supported value is “gtk”) and the “version” attribute specifies
* the target version in the form “`<major>`.`<minor>`”. The builder will error
* out if the version requirements are not met.
*
diff --git a/gtk/gtkbuilderparser.c b/gtk/gtkbuilderparser.c
index 66ff6981a7..c8e096aacb 100644
--- a/gtk/gtkbuilderparser.c
+++ b/gtk/gtkbuilderparser.c
@@ -2014,7 +2014,7 @@ end_element (GtkBuildableParseContext *context,
* required versions, possibly throw a signal allowing them
* to check their library versions here.
*/
- if (!strcmp (req_info->library, "gtk+"))
+ if (!strcmp (req_info->library, "gtk"))
{
if (!GTK_CHECK_VERSION (req_info->major, req_info->minor, 0))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]