Commit 08378a0f authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

recent-view: ev_recent_view_new should return a GtkWidget

parent 39ad5dbb
......@@ -463,8 +463,8 @@ ev_recent_view_class_init (EvRecentViewClass *klass)
g_type_class_add_private (klass, sizeof (EvRecentViewPrivate));
}
EvRecentView *
GtkWidget *
ev_recent_view_new (void)
{
return EV_RECENT_VIEW (g_object_new (EV_TYPE_RECENT_VIEW, NULL));
return GTK_WIDGET (g_object_new (EV_TYPE_RECENT_VIEW, NULL));
}
......@@ -48,8 +48,8 @@ struct _EvRecentViewClass
GtkScrolledWindowClass parent_class;
};
GType ev_recent_view_get_type (void) G_GNUC_CONST;
EvRecentView *ev_recent_view_new (void);
GType ev_recent_view_get_type (void) G_GNUC_CONST;
GtkWidget *ev_recent_view_new (void);
G_END_DECLS
......
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