aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/demo/addressbook-widget.c
diff options
context:
space:
mode:
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;