Commit f40f1d91 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Fix wrong usage of g_value_set/get_object for PROP_TABS and memory leak in

Tue Jan 29 19:32:47 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_get/set_property):
        Fix wrong usage of g_value_set/get_object for PROP_TABS
        and memory leak in getter for PROP_TABS. (Jeff Franks)
parent 6488296f
Tue Jan 29 19:32:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get/set_property):
Fix wrong usage of g_value_set/get_object for PROP_TABS
and memory leak in getter for PROP_TABS. (Jeff Franks)
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com> Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that * gtk/gtkstyle.c (gtk_style_render_icon): Document that
......
Tue Jan 29 19:32:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get/set_property):
Fix wrong usage of g_value_set/get_object for PROP_TABS
and memory leak in getter for PROP_TABS. (Jeff Franks)
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com> Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that * gtk/gtkstyle.c (gtk_style_render_icon): Document that
......
Tue Jan 29 19:32:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get/set_property):
Fix wrong usage of g_value_set/get_object for PROP_TABS
and memory leak in getter for PROP_TABS. (Jeff Franks)
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com> Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that * gtk/gtkstyle.c (gtk_style_render_icon): Document that
......
Tue Jan 29 19:32:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get/set_property):
Fix wrong usage of g_value_set/get_object for PROP_TABS
and memory leak in getter for PROP_TABS. (Jeff Franks)
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com> Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that * gtk/gtkstyle.c (gtk_style_render_icon): Document that
......
Tue Jan 29 19:32:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get/set_property):
Fix wrong usage of g_value_set/get_object for PROP_TABS
and memory leak in getter for PROP_TABS. (Jeff Franks)
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com> Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that * gtk/gtkstyle.c (gtk_style_render_icon): Document that
......
Tue Jan 29 19:32:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get/set_property):
Fix wrong usage of g_value_set/get_object for PROP_TABS
and memory leak in getter for PROP_TABS. (Jeff Franks)
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com> Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that * gtk/gtkstyle.c (gtk_style_render_icon): Document that
......
Tue Jan 29 19:32:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get/set_property):
Fix wrong usage of g_value_set/get_object for PROP_TABS
and memory leak in getter for PROP_TABS. (Jeff Franks)
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com> Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that * gtk/gtkstyle.c (gtk_style_render_icon): Document that
......
...@@ -2547,7 +2547,7 @@ gtk_text_view_set_property (GObject *object, ...@@ -2547,7 +2547,7 @@ gtk_text_view_set_property (GObject *object,
break; break;
case PROP_TABS: case PROP_TABS:
gtk_text_view_set_tabs (text_view, g_value_get_object (value)); gtk_text_view_set_tabs (text_view, g_value_get_boxed (value));
break; break;
case PROP_CURSOR_VISIBLE: case PROP_CURSOR_VISIBLE:
...@@ -2609,7 +2609,7 @@ gtk_text_view_get_property (GObject *object, ...@@ -2609,7 +2609,7 @@ gtk_text_view_get_property (GObject *object,
break; break;
case PROP_TABS: case PROP_TABS:
g_value_set_object (value, gtk_text_view_get_tabs (text_view)); g_value_set_boxed (value, text_view->tabs);
break; break;
case PROP_CURSOR_VISIBLE: case PROP_CURSOR_VISIBLE:
......
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