adding deps to libgnomecanvas



2001-10-26  Michael Meeks  <michael ximian com>

        * glade/glade-canvas.c (glade_module_register_widgets):
        register the canvas widget with the new API.

2001-10-24  jacob berkman  <jacob ximian com>

        * glade/glade-canvas.c: moved from libglade/glade/

        * configure.in: add libglade checks

        * Makefile.am (SUBDIRS): build glade/


this adds libglade as a dependancy to libgnomecanvas just to:

void
glade_module_register_widgets (void)
{
    glade_provide ("canvas");
    glade_register_widget (GNOME_TYPE_CANVAS,
                           glade_standard_build_widget,
                           NULL, NULL);
}

this is extreme overkill, libglade can easily check if
libgnomecanvas is present or not.
if this were taken as exemplary code, *every* library that
contains gtk widgets other than gtk itself will have to
have a hard libglade dependancy which is pretty unacaptable.

/me off to hack libgnomecanvas files to build without libglade

---
ciaoTJ





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]