aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/demo/addressbook-widget.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-31 22:19:34 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-31 22:19:34 +0800
commit711197b6b76d7200708567005c3f864d7aa7dded (patch)
treecb94a5bc338831748aafb7fe2b8d54894493ad22 /addressbook/demo/addressbook-widget.c
parentbf794358e25773ec43a6f3dbb98cd019779e0e2f (diff)
downloadgsoc2013-evolution-711197b6b76d7200708567005c3f864d7aa7dded.tar.gz
gsoc2013-evolution-711197b6b76d7200708567005c3f864d7aa7dded.tar.zst
gsoc2013-evolution-711197b6b76d7200708567005c3f864d7aa7dded.zip
Added some missing gtk_object_refs.
2000-03-31 Christopher James Lahey <clahey@helixcode.com> * addressbook/demo/demo.c, addressbook/demo/addressbook-widget.c: Added some missing gtk_object_refs. svn path=/trunk/; revision=2267
Diffstat (limited to 'addressbook/demo/addressbook-widget.c')
-rw-r--r--addressbook/demo/addressbook-widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/addressbook/demo/addressbook-widget.c b/addressbook/demo/addressbook-widget.c
index fe2a5afaa2..c6ec19e1f9 100644
--- a/addressbook/demo/addressbook-widget.c
+++ b/addressbook/demo/addressbook-widget.c
@@ -433,6 +433,7 @@ create_view(void)
*/
/* Show it all. */
gtk_widget_show_all (view->widget);
+ gtk_object_ref(GTK_OBJECT(view->model));
gtk_object_sink(GTK_OBJECT(view->model));
window_count ++;
return view;