summaryrefslogtreecommitdiff
path: root/components/sample/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/sample/main.c')
-rw-r--r--components/sample/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/sample/main.c b/components/sample/main.c
index 327b8d795..29eb1ab24 100644
--- a/components/sample/main.c
+++ b/components/sample/main.c
@@ -62,7 +62,7 @@ sample_make_object (BonoboGenericFactory *factory,
object_count++;
- nautilus_view = NAUTILUS_VIEW (nautilus_sample_content_view_get_nautilus_view (view));
+ nautilus_view = nautilus_sample_content_view_get_nautilus_view (view);
gtk_signal_connect (GTK_OBJECT (nautilus_view), "destroy", sample_object_destroyed, NULL);