Index: graveman/current/src/gtk-mng-view.c diff -u graveman/current/src/gtk-mng-view.c:1.3 graveman/current/src/gtk-mng-view.c:1.4 --- graveman/current/src/gtk-mng-view.c:1.3 Mon May 2 23:18:32 2005 +++ graveman/current/src/gtk-mng-view.c Tue May 3 01:22:35 2005 @@ -546,14 +546,12 @@ return Lmng; } -GtkMngView *gtk_mng_view_new_init(Tmng *Amng) +gboolean gtk_mng_view_load(GtkMngView *Awidgetmng, Tmng *Amng) { - GtkMngView *Awidgetmng = GTK_MNG_VIEW(gtk_mng_view_new()); - if (Amng && Amng->mng_data && Amng->size) - gtk_mng_view_load_mng_from_memory(Awidgetmng, Amng->mng_data, Amng->size); + return gtk_mng_view_load_mng_from_memory(Awidgetmng, Amng->mng_data, Amng->size); - return Awidgetmng; + return FALSE; } /*
_______________________________________________ Graveman-cvs mailing list Graveman-cvs@nongnu.org http://lists.nongnu.org/mailman/listinfo/graveman-cvs