diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-30 00:35:51 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-30 00:35:51 +0000 |
commit | f40f1d91a51ba98919b112fd56b3827daedb2387 (patch) | |
tree | 074ce9d5360d6cb7ee26a574b6308c0ee982f7fe | |
parent | 6488296fc00b72f4028ebf631366cda1d2b8db6a (diff) | |
download | gdk-pixbuf-f40f1d91a51ba98919b112fd56b3827daedb2387.tar.gz |
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)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gtk/gtktextview.c | 4 |
8 files changed, 44 insertions, 2 deletions
@@ -1,3 +1,9 @@ +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> * gtk/gtkstyle.c (gtk_style_render_icon): Document that diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 1fd92a9cc..fa2baa284 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +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> * gtk/gtkstyle.c (gtk_style_render_icon): Document that diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1fd92a9cc..fa2baa284 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +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> * gtk/gtkstyle.c (gtk_style_render_icon): Document that diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 1fd92a9cc..fa2baa284 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +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> * gtk/gtkstyle.c (gtk_style_render_icon): Document that diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 1fd92a9cc..fa2baa284 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +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> * gtk/gtkstyle.c (gtk_style_render_icon): Document that diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 1fd92a9cc..fa2baa284 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +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> * gtk/gtkstyle.c (gtk_style_render_icon): Document that diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1fd92a9cc..fa2baa284 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +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> * gtk/gtkstyle.c (gtk_style_render_icon): Document that diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 983541ad3..dc8d04a8e 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -2547,7 +2547,7 @@ gtk_text_view_set_property (GObject *object, break; 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; case PROP_CURSOR_VISIBLE: @@ -2609,7 +2609,7 @@ gtk_text_view_get_property (GObject *object, break; case PROP_TABS: - g_value_set_object (value, gtk_text_view_get_tabs (text_view)); + g_value_set_boxed (value, text_view->tabs); break; case PROP_CURSOR_VISIBLE: |