[gnome-builder: 3/3] commands: track API adjustment in gtk master
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder: 3/3] commands: track API adjustment in gtk master
- Date: Thu, 11 Dec 2014 23:33:13 +0000 (UTC)
commit ca4c9d8a90c11717e6eeb3f040ac0b9b83097ee5
Author: Christian Hergert <christian hergert me>
Date: Thu Dec 11 15:31:41 2014 -0800
commands: track API adjustment in gtk master
We changed this to only return the allocated container array instead of
a gstrv before pushing to gtk master.
src/commands/gb-command-gaction-provider.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/commands/gb-command-gaction-provider.c b/src/commands/gb-command-gaction-provider.c
index 9a9b514..6ad3d7f 100644
--- a/src/commands/gb-command-gaction-provider.c
+++ b/src/commands/gb-command-gaction-provider.c
@@ -56,7 +56,7 @@ discover_groups (GbCommandGactionProvider *provider)
widget;
widget = gtk_widget_get_parent (widget))
{
- gchar **prefixes;
+ const gchar **prefixes;
guint i;
prefixes = gtk_widget_list_action_prefixes (widget);
@@ -75,7 +75,7 @@ discover_groups (GbCommandGactionProvider *provider)
list = g_list_append (list, group);
}
- g_strfreev (prefixes);
+ g_free (prefixes);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]