Commit 1a1b91e8 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Get rid of incorrect calls to g_value_init(). (#100669, Johan Dahlin,

Mon Dec 16 16:18:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
        of incorrect calls to g_value_init(). (#100669, Johan
        Dahlin, James Henstridge)
parent a04d5979
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
of incorrect calls to g_value_init(). (#100669, Johan
Dahlin, James Henstridge)
Mon Dec 16 17:20:02 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkaccellabel.c: Implement Owen's susggestion from
......
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
of incorrect calls to g_value_init(). (#100669, Johan
Dahlin, James Henstridge)
Mon Dec 16 17:20:02 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkaccellabel.c: Implement Owen's susggestion from
......
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
of incorrect calls to g_value_init(). (#100669, Johan
Dahlin, James Henstridge)
Mon Dec 16 17:20:02 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkaccellabel.c: Implement Owen's susggestion from
......
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
of incorrect calls to g_value_init(). (#100669, Johan
Dahlin, James Henstridge)
Mon Dec 16 17:20:02 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkaccellabel.c: Implement Owen's susggestion from
......
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
of incorrect calls to g_value_init(). (#100669, Johan
Dahlin, James Henstridge)
Mon Dec 16 17:20:02 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkaccellabel.c: Implement Owen's susggestion from
......
Mon Dec 16 16:18:15 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
of incorrect calls to g_value_init(). (#100669, Johan
Dahlin, James Henstridge)
Mon Dec 16 17:20:02 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkaccellabel.c: Implement Owen's susggestion from
......
......@@ -1349,13 +1349,6 @@ gtk_text_tag_set_property (GObject *object,
text_tag, size_changed);
}
static void
get_color_arg (GValue *value, GdkColor *orig)
{
g_value_init (value, GDK_TYPE_COLOR);
g_value_set_boxed (value, orig);
}
static void
gtk_text_tag_get_property (GObject *object,
guint prop_id,
......@@ -1373,11 +1366,11 @@ gtk_text_tag_get_property (GObject *object,
break;
case PROP_BACKGROUND_GDK:
get_color_arg (value, &tag->values->appearance.bg_color);
g_value_set_boxed (value, &tag->values->appearance.bg_color);
break;
case PROP_FOREGROUND_GDK:
get_color_arg (value, &tag->values->appearance.fg_color);
g_value_set_boxed (value, &tag->values->appearance.fg_color);
break;
case PROP_BACKGROUND_STIPPLE:
......
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