[gtk+] stylecontext: Fix list_classes() after optimization
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] stylecontext: Fix list_classes() after optimization
- Date: Fri, 11 Sep 2015 16:52:14 +0000 (UTC)
commit 6118893a4ea75d9f94e5e68ed1c8e0ae73442926
Author: Garrett Regier <garrettregier gmail com>
Date: Fri Sep 11 09:46:34 2015 -0700
stylecontext: Fix list_classes() after optimization
Otherwise a junk value is returned.
gtk/gtkstylecontext.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 643a17b..ddc0d11 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -1391,7 +1391,7 @@ GList *
gtk_style_context_list_classes (GtkStyleContext *context)
{
GtkStyleContextPrivate *priv;
- GList *classes_list;
+ GList *classes_list = NULL;
const GQuark *classes;
guint n_classes, i;
const gchar *quark_str;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]