Commit 4acc20ab authored by Carlos Garnacho's avatar Carlos Garnacho

s/GtkStyleSet/GtkStyleProperties/

The former name had oddities such as gtk_style_set_set() and such,
so the new name is nicer in that regard and not much longer.
parent 1bdd761c
......@@ -293,8 +293,8 @@ gtk_public_h_sources = \
gtkstatusicon.h \
gtkstock.h \
gtkstylecontext.h \
gtkstyleproperties.h \
gtkstyleprovider.h \
gtkstyleset.h \
gtkstyle.h \
gtkswitch.h \
gtksymboliccolor.h \
......@@ -601,8 +601,8 @@ gtk_base_c_sources = \
gtkstatusicon.c \
gtkstock.c \
gtkstylecontext.c \
gtkstyleproperties.c \
gtkstyleprovider.c \
gtkstyleset.c \
gtkstyle.c \
gtkswitch.c \
gtksymboliccolor.c \
......
......@@ -176,8 +176,8 @@
#include <gtk/gtkstatusicon.h>
#include <gtk/gtkstock.h>
#include <gtk/gtkstylecontext.h>
#include <gtk/gtkstyleproperties.h>
#include <gtk/gtkstyleprovider.h>
#include <gtk/gtkstyleset.h>
#include <gtk/gtkstyle.h>
#include <gtk/gtkswitch.h>
#include <gtk/gtksymboliccolor.h>
......
......@@ -961,8 +961,8 @@ css_provider_get_selectors (GtkCssProvider *css_provider,
}
static void
css_provider_dump_symbolic_colors (GtkCssProvider *css_provider,
GtkStyleSet *set)
css_provider_dump_symbolic_colors (GtkCssProvider *css_provider,
GtkStyleProperties *props)
{
GtkCssProviderPrivate *priv;
GHashTableIter iter;
......@@ -979,25 +979,25 @@ css_provider_dump_symbolic_colors (GtkCssProvider *css_provider,
name = key;
color = value;
gtk_style_set_map_color (set, name, color);
gtk_style_properties_map_color (props, name, color);
}
}
static GtkStyleSet *
static GtkStyleProperties *
gtk_css_provider_get_style (GtkStyleProvider *provider,
GtkWidgetPath *path)
{
GtkCssProvider *css_provider;
GtkCssProviderPrivate *priv;
GtkStyleSet *set;
GtkStyleProperties *props;
GArray *priority_info;
guint i;
css_provider = GTK_CSS_PROVIDER (provider);
props = gtk_style_properties_new ();
priv = css_provider->priv;
set = gtk_style_set_new ();
css_provider_dump_symbolic_colors (css_provider, set);
css_provider_dump_symbolic_colors (css_provider, props);
priority_info = css_provider_get_selectors (css_provider, path);
for (i = 0; i < priority_info->len; i++)
......@@ -1018,16 +1018,16 @@ gtk_css_provider_get_style (GtkStyleProvider *provider,
* the type is registered or not.
*/
if (prop[0] == '-' &&
!gtk_style_set_lookup_property (prop, NULL, NULL))
!gtk_style_properties_lookup_property (prop, NULL, NULL))
continue;
gtk_style_set_set_property (set, key, info->state, value);
gtk_style_properties_set_property (props, key, info->state, value);
}
}
g_array_free (priority_info, TRUE);
return set;
return props;
}
static gboolean
......@@ -2579,7 +2579,7 @@ parse_rule (GtkCssProvider *css_provider,
value_str = g_strstrip (scanner->value.v_identifier);
if (gtk_style_set_lookup_property (prop, &prop_type, &parse_func))
if (gtk_style_properties_lookup_property (prop, &prop_type, &parse_func))
{
GValue *val;
......
......@@ -1253,19 +1253,19 @@ gtk_settings_class_init (GtkSettingsClass *class)
g_assert (result == PROP_IM_STATUS_STYLE);
}
static GtkStyleSet *
static GtkStyleProperties *
gtk_settings_get_style (GtkStyleProvider *provider,
GtkWidgetPath *path)
{
PangoFontDescription *font_desc;
gchar *font_name, *color_scheme;
GtkSettings *settings;
GtkStyleSet *set;
GtkStyleProperties *props;
gchar **colors;
guint i;
settings = GTK_SETTINGS (provider);
set = gtk_style_set_new ();
props = gtk_style_properties_new ();
g_object_get (settings,
"gtk-font-name", &font_name,
......@@ -1301,22 +1301,22 @@ gtk_settings_get_style (GtkStyleProvider *provider,
continue;
color = gtk_symbolic_color_new_literal (&col);
gtk_style_set_map_color (set, name, color);
gtk_style_properties_map_color (props, name, color);
gtk_symbolic_color_unref (color);
}
font_desc = pango_font_description_from_string (font_name);
gtk_style_set_set (set, 0,
"font", font_desc,
NULL);
gtk_style_properties_set (props, 0,
"font", font_desc,
NULL);
pango_font_description_free (font_desc);
g_strfreev (colors);
g_free (color_scheme);
g_free (font_name);
return set;
return props;
}
static void
......
......@@ -226,7 +226,7 @@ struct GtkStyleInfo
struct StyleData
{
GtkStyleSet *store;
GtkStyleProperties *store;
GSList *icon_factories;
GArray *property_cache;
};
......@@ -438,7 +438,7 @@ style_data_new (void)
StyleData *data;
data = g_slice_new0 (StyleData);
data->store = gtk_style_set_new ();
data->store = gtk_style_properties_new ();
return data;
}
......@@ -771,7 +771,7 @@ build_properties (GtkStyleContext *context,
while ((elem = find_next_candidate (list, global_list)) != NULL)
{
GtkStyleProviderData *data;
GtkStyleSet *provider_style;
GtkStyleProperties *provider_style;
data = elem->data;
......@@ -784,7 +784,7 @@ build_properties (GtkStyleContext *context,
if (provider_style)
{
gtk_style_set_merge (style_data->store, provider_style, TRUE);
gtk_style_properties_merge (style_data->store, provider_style, TRUE);
g_object_unref (provider_style);
}
}
......@@ -902,9 +902,9 @@ style_data_lookup (GtkStyleContext *context)
if (priv->theming_engine)
g_object_unref (priv->theming_engine);
gtk_style_set_get (data->store, 0,
"engine", &priv->theming_engine,
NULL);
gtk_style_properties_get (data->store, 0,
"engine", &priv->theming_engine,
NULL);
return data;
}
......@@ -1198,7 +1198,7 @@ gtk_style_context_get_property (GtkStyleContext *context,
g_return_if_fail (priv->widget_path != NULL);
data = style_data_lookup (context);
gtk_style_set_get_property (data->store, property, state, value);
gtk_style_properties_get_property (data->store, property, state, value);
}
/**
......@@ -1225,7 +1225,7 @@ gtk_style_context_get_valist (GtkStyleContext *context,
g_return_if_fail (priv->widget_path != NULL);
data = style_data_lookup (context);
gtk_style_set_get_valist (data->store, state, args);
gtk_style_properties_get_valist (data->store, state, args);
}
/**
......@@ -1256,7 +1256,7 @@ gtk_style_context_get (GtkStyleContext *context,
data = style_data_lookup (context);
va_start (args, state);
gtk_style_set_get_valist (data->store, state, args);
gtk_style_properties_get_valist (data->store, state, args);
va_end (args);
}
......@@ -2390,7 +2390,7 @@ gtk_style_context_lookup_color (GtkStyleContext *context,
g_return_val_if_fail (priv->widget_path != NULL, FALSE);
data = style_data_lookup (context);
sym_color = gtk_style_set_lookup_color (data->store, color_name);
sym_color = gtk_style_properties_lookup_color (data->store, color_name);
if (!sym_color)
return FALSE;
......@@ -2497,9 +2497,9 @@ gtk_style_context_notify_state_change (GtkStyleContext *context,
* state, it will fallback to the normal state as well if necessary.
*/
data = style_data_lookup (context);
gtk_style_set_get (data->store, flags,
"transition", &desc,
NULL);
gtk_style_properties_get (data->store, flags,
"transition", &desc,
NULL);
if (!desc)
return;
......
/* GTK - The GIMP Toolkit
* Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GTK_STYLE_PROPERTIES_H__
#define __GTK_STYLE_PROPERTIES_H__
#include <glib-object.h>
#include <gdk/gdk.h>
#include "gtkenums.h"
#include "gtksymboliccolor.h"
G_BEGIN_DECLS
#define GTK_TYPE_STYLE_PROPERTIES (gtk_style_properties_get_type ())
#define GTK_STYLE_PROPERTIES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STYLE_PROPERTIES, GtkStyleProperties))
#define GTK_STYLE_PROPERTIES_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_STYLE_PROPERTIES, GtkStylePropertiesClass))
#define GTK_IS_STYLE_PROPERTIES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_PROPERTIES))
#define GTK_IS_STYLE_PROPERTIES_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_STYLE_PROPERTIES))
#define GTK_STYLE_PROPERTIES_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_STYLE_PROPERTIES, GtkStylePropertiesClass))
typedef struct _GtkStyleProperties GtkStyleProperties;
typedef struct _GtkStylePropertiesClass GtkStylePropertiesClass;
struct _GtkStyleProperties
{
GObject parent_object;
gpointer priv;
};
struct _GtkStylePropertiesClass
{
GObjectClass parent_class;
};
typedef gboolean (* GtkStylePropertyParser) (const gchar *string,
GValue *value,
GError **error);
GType gtk_style_properties_get_type (void) G_GNUC_CONST;
/* Functions to register style properties */
void gtk_style_properties_register_property (const gchar *property_name,
GType type,
const GValue *default_value,
GtkStylePropertyParser parse_func);
gboolean gtk_style_properties_lookup_property (const gchar *property_name,
GType *type,
GtkStylePropertyParser *parse_func);
GtkStyleProperties * gtk_style_properties_new (void);
void gtk_style_properties_map_color (GtkStyleProperties *props,
const gchar *name,
GtkSymbolicColor *color);
GtkSymbolicColor * gtk_style_properties_lookup_color (GtkStyleProperties *set,
const gchar *name);
void gtk_style_properties_set_property (GtkStyleProperties *props,
const gchar *property,
GtkStateFlags state,
const GValue *value);
void gtk_style_properties_set_valist (GtkStyleProperties *props,
GtkStateFlags state,
va_list args);
void gtk_style_properties_set (GtkStyleProperties *props,
GtkStateFlags state,
...) G_GNUC_NULL_TERMINATED;
gboolean gtk_style_properties_get_property (GtkStyleProperties *props,
const gchar *property,
GtkStateFlags state,
GValue *value);
void gtk_style_properties_get_valist (GtkStyleProperties *props,
GtkStateFlags state,
va_list args);
void gtk_style_properties_get (GtkStyleProperties *props,
GtkStateFlags state,
...) G_GNUC_NULL_TERMINATED;
void gtk_style_properties_unset_property (GtkStyleProperties *props,
const gchar *property,
GtkStateFlags state);
void gtk_style_properties_clear (GtkStyleProperties *props);
void gtk_style_properties_merge (GtkStyleProperties *props,
const GtkStyleProperties *props_to_merge,
gboolean replace);
gboolean gtk_symbolic_color_resolve (GtkSymbolicColor *color,
GtkStyleProperties *props,
GdkRGBA *resolved_color);
gboolean gtk_gradient_resolve (GtkGradient *gradient,
GtkStyleProperties *props,
cairo_pattern_t **resolved_gradient);
G_END_DECLS
#endif /* __GTK_STYLE_PROPERTIES_H__ */
......@@ -62,11 +62,11 @@ gtk_style_provider_iface_init (gpointer g_iface)
* Returns the style settings affecting a widget defined by @path, or %NULL if
* @provider doesn't contemplate styling @path.
*
* Returns: a #GtkStyleSet containing the style settings affecting @path
* Returns: a #GtkStyleProperties containing the style settings affecting @path
*
* Since: 3.0
**/
GtkStyleSet *
GtkStyleProperties *
gtk_style_provider_get_style (GtkStyleProvider *provider,
GtkWidgetPath *path)
{
......
......@@ -23,7 +23,7 @@
#include <glib-object.h>
#include "gtkwidgetpath.h"
#include "gtkiconfactory.h"
#include "gtkstyleset.h"
#include "gtkstyleproperties.h"
#include "gtkenums.h"
G_BEGIN_DECLS
......@@ -52,8 +52,8 @@ struct _GtkStyleProviderIface
{
GTypeInterface g_iface;
GtkStyleSet * (* get_style) (GtkStyleProvider *provider,
GtkWidgetPath *path);
GtkStyleProperties * (* get_style) (GtkStyleProvider *provider,
GtkWidgetPath *path);
gboolean (* get_style_property) (GtkStyleProvider *provider,
GtkWidgetPath *path,
......@@ -66,8 +66,8 @@ struct _GtkStyleProviderIface
GType gtk_style_provider_get_type (void) G_GNUC_CONST;
GtkStyleSet *gtk_style_provider_get_style (GtkStyleProvider *provider,
GtkWidgetPath *path);
GtkStyleProperties *gtk_style_provider_get_style (GtkStyleProvider *provider,
GtkWidgetPath *path);
gboolean gtk_style_provider_get_style_property (GtkStyleProvider *provider,
GtkWidgetPath *path,
......
/* GTK - The GIMP Toolkit
* Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GTK_STYLE_SET_H__
#define __GTK_STYLE_SET_H__
#include <glib-object.h>
#include <gdk/gdk.h>
#include "gtkenums.h"
#include "gtksymboliccolor.h"
G_BEGIN_DECLS
#define GTK_TYPE_STYLE_SET (gtk_style_set_get_type ())
#define GTK_STYLE_SET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STYLE_SET, GtkStyleSet))
#define GTK_STYLE_SET_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_STYLE_SET, GtkStyleSetClass))
#define GTK_IS_STYLE_SET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_SET))
#define GTK_IS_STYLE_SET_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_STYLE_SET))
#define GTK_STYLE_SET_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_STYLE_SET, GtkStyleSetClass))
typedef struct _GtkStyleSet GtkStyleSet;
typedef struct _GtkStyleSetClass GtkStyleSetClass;
struct _GtkStyleSet
{
GObject parent_object;
gpointer priv;
};
struct _GtkStyleSetClass
{
GObjectClass parent_class;
};
typedef gboolean (* GtkStylePropertyParser) (const gchar *string,
GValue *value,
GError **error);
GType gtk_style_set_get_type (void) G_GNUC_CONST;
/* Functions to register style properties */
void gtk_style_set_register_property (const gchar *property_name,
GType type,
const GValue *default_value,
GtkStylePropertyParser parse_func);
gboolean gtk_style_set_lookup_property (const gchar *property_name,
GType *type,
GtkStylePropertyParser *parse_func);
GtkStyleSet * gtk_style_set_new (void);
void gtk_style_set_map_color (GtkStyleSet *set,
const gchar *name,
GtkSymbolicColor *color);
GtkSymbolicColor * gtk_style_set_lookup_color (GtkStyleSet *set,
const gchar *name);
void gtk_style_set_set_property (GtkStyleSet *set,
const gchar *property,
GtkStateFlags state,
const GValue *value);
void gtk_style_set_set_valist (GtkStyleSet *set,
GtkStateFlags state,
va_list args);
void gtk_style_set_set (GtkStyleSet *set,
GtkStateFlags state,
...) G_GNUC_NULL_TERMINATED;
gboolean gtk_style_set_get_property (GtkStyleSet *set,
const gchar *property,
GtkStateFlags state,
GValue *value);
void gtk_style_set_get_valist (GtkStyleSet *set,
GtkStateFlags state,
va_list args);
void gtk_style_set_get (GtkStyleSet *set,
GtkStateFlags state,
...) G_GNUC_NULL_TERMINATED;
void gtk_style_set_unset_property (GtkStyleSet *set,
const gchar *property,
GtkStateFlags state);
void gtk_style_set_clear (GtkStyleSet *set);
void gtk_style_set_merge (GtkStyleSet *set,
const GtkStyleSet *set_to_merge,
gboolean replace);
gboolean gtk_symbolic_color_resolve (GtkSymbolicColor *color,
GtkStyleSet *style_set,
GdkRGBA *resolved_color);
gboolean gtk_gradient_resolve (GtkGradient *gradient,
GtkStyleSet *style_set,
cairo_pattern_t **resolved_gradient);
G_END_DECLS
#endif /* __GTK_STYLE_PROPERTY_SET_H__ */
......@@ -19,7 +19,7 @@
#include "config.h"
#include "gtksymboliccolor.h"
#include "gtkstyleset.h"
#include "gtkstyleproperties.h"
#include "gtkintl.h"
G_DEFINE_BOXED_TYPE (GtkSymbolicColor, gtk_symbolic_color,
......@@ -114,7 +114,7 @@ gtk_symbolic_color_new_literal (GdkRGBA *color)
*
* Creates a symbolic color pointing to an unresolved named
* color. See gtk_style_context_lookup_color() and
* gtk_style_set_lookup_color().
* gtk_style_properties_lookup_color().
*
* Returns: a newly created #GtkSymbolicColor
*
......@@ -295,25 +295,25 @@ gtk_symbolic_color_unref (GtkSymbolicColor *color)
/**
* gtk_symbolic_color_resolve:
* @color: a #GtkSymbolicColor
* @style_set: #GtkStyleSet to use when resolving named colors
* @props: #GtkStyleProperties to use when resolving named colors
* @resolved_color: (out): return location for the resolved color
*
* If @color is resolvable, @resolved_color will be filled in
* with the resolved color, and %TRUE will be returned. Generally,
* if @color can't be resolved, it is due to it being defined on
* top of a named color that doesn't exist in @style_set.
* top of a named color that doesn't exist in @props.
*
* Returns: %TRUE if the color has been resolved
*
* Since: 3.0
**/
gboolean
gtk_symbolic_color_resolve (GtkSymbolicColor *color,
GtkStyleSet *style_set,
GdkRGBA *resolved_color)
gtk_symbolic_color_resolve (GtkSymbolicColor *color,
GtkStyleProperties *props,
GdkRGBA *resolved_color)
{
g_return_val_if_fail (color != NULL, FALSE);
g_return_val_if_fail (GTK_IS_STYLE_SET (style_set), FALSE);
g_return_val_if_fail (GTK_IS_STYLE_PROPERTIES (props), FALSE);
g_return_val_if_fail (resolved_color != NULL, FALSE);
switch (color->type)
......@@ -325,12 +325,12 @@ gtk_symbolic_color_resolve (GtkSymbolicColor *color,
{
GtkSymbolicColor *named_color;
named_color = gtk_style_set_lookup_color (style_set, color->name);
named_color = gtk_style_properties_lookup_color (props, color->name);
if (!named_color)
return FALSE;
return gtk_symbolic_color_resolve (named_color, style_set, resolved_color);
return gtk_symbolic_color_resolve (named_color, props, resolved_color);
}
break;
......@@ -338,7 +338,7 @@ gtk_symbolic_color_resolve (GtkSymbolicColor *color,
{
GdkRGBA shade;
if (!gtk_symbolic_color_resolve (color->shade.color, style_set, &shade))
if (!gtk_symbolic_color_resolve (color->shade.color, props, &shade))
return FALSE;
resolved_color->red = CLAMP (shade.red * color->shade.factor, 0, 1);
......@@ -354,7 +354,7 @@ gtk_symbolic_color_resolve (GtkSymbolicColor *color,
{
GdkRGBA alpha;
if (!gtk_symbolic_color_resolve (color->alpha.color, style_set, &alpha))
if (!gtk_symbolic_color_resolve (color->alpha.color, props, &alpha))
return FALSE;
*resolved_color = alpha;
......@@ -366,10 +366,10 @@ gtk_symbolic_color_resolve (GtkSymbolicColor *color,
{
GdkRGBA color1, color2;
if (!gtk_symbolic_color_resolve (color->mix.color1, style_set, &color1))
if (!gtk_symbolic_color_resolve (color->mix.color1, props, &color1))
return FALSE;
if (!gtk_symbolic_color_resolve (color->mix.color2, style_set, &color2))
if (!gtk_symbolic_color_resolve (color->mix.color2, props, &color2))
return FALSE;
resolved_color->red = CLAMP (color1.red + ((color2.red - color1.red) * color->mix.factor), 0, 1);
......@@ -549,29 +549,29 @@ gtk_gradient_unref (GtkGradient *gradient)
/**
* gtk_gradient_resolve:
* @gradient: a #GtkGradient
* @style_set: #GtkStyleSet to use when resolving named colors
* @props: #GtkStyleProperties to use when resolving named colors
* @resolved_gradient: (out): return location for the resolved pattern
*
* If @gradient is resolvable, @resolved_gradient will be filled in
* with the resolved gradient as a cairo_pattern_t, and %TRUE will
* be returned. Generally, if @gradient can't be resolved, it is
* due to it being defined on top of a named color that doesn't
* exist in @style_set.
* exist in @props.
*
* Returns: %TRUE if the gradient has been resolved
*
* Since: 3.0
**/
gboolean
gtk_gradient_resolve (GtkGradient *gradient,
GtkStyleSet *style_set,
cairo_pattern_t **resolved_gradient)
gtk_gradient_resolve (GtkGradient *gradient,
GtkStyleProperties *props,
cairo_pattern_t **resolved_gradient)
{
cairo_pattern_t *pattern;
guint i;
g_return_val_if_fail (gradient != NULL, FALSE);
g_return_val_if_fail (GTK_IS_STYLE_SET (style_set), FALSE);
g_return_val_if_fail (GTK_IS_STYLE_PROPERTIES (props), FALSE);
g_return_val_if_fail (resolved_gradient != NULL, FALSE);
if (gradient->radius0 == 0 && gradient->radius1 == 0)
......@@ -590,7 +590,7 @@ gtk_gradient_resolve (GtkGradient *gradient,
stop = &g_array_index (gradient->stops, ColorStop, i);
if (!gtk_symbolic_color_resolve (stop->color, style_set, &color))
if (!gtk_symbolic_color_resolve (stop->color, props, &color))
{
cairo_pattern_destroy (pattern);
return FALSE;
......
......@@ -376,7 +376,7 @@ gtk_theming_engine_register_property (GtkThemingEngine *engine,
engine_name = G_OBJECT_TYPE_NAME (engine);
name = g_strdup_printf ("-%s-%s", engine_name, property_name);
gtk_style_set_register_property (name, type, default_value, parse_func);
gtk_style_properties_register_property (name, type, default_value, parse_func);
g_free (name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment