Commit 5797b1bf authored by Darin Adler's avatar Darin Adler

Fixed some warnings.

parent a4a7dc95
1999-12-15 Darin Adler <darin@eazel.com>
* components/help/.cvsignore: Ignore more generated files.
* components/help/hyperbols-filefmt.c: Fix warnings.
* components/help/hyperbols-main.c: Fix warnings.
* components/help/hyperbols-nav-tree.c: Fix warnings.
1999-12-15 Elliot Lee <sopwith@redhat.com>
* components/Makefile.am: Turn on compilation of hyperbola component.
......
.deps
.libs
Makefile
Makefile.in
hyperbola
......@@ -26,7 +26,7 @@ static FormatHandler format_handlers[] = {
{"ghelp", fmt_ghelp_populate_tree},
{"man", fmt_man_populate_tree},
{"info", fmt_info_populate_tree},
{NULL}
{NULL, NULL}
};
static gboolean
......
......@@ -10,6 +10,7 @@ make_obj(GnomeGenericFactory *Factory, const char *goad_id, void *closure)
{
if(!strcmp(goad_id, "hyperbola_navigation_tree"))
return hyperbola_navigation_tree_new();
return NULL;
}
int main(int argc, char *argv[])
......
......@@ -11,6 +11,10 @@ typedef struct {
gint notify_count;
} HyperbolaNavigationTree;
/* Temporary prototypes until hyperbola-nav-tree.h compiles. */
GtkType hyperbola_navigation_tree_get_type(void);
GnomeObject *hyperbola_navigation_tree_new(void);
static void hyperbola_navigation_tree_select_row(GtkCTree *ctree,
GtkCTreeNode *node,
gint column,
......@@ -52,7 +56,7 @@ ctree_populate_subnode(gpointer key, gpointer value, gpointer user_data)
static void
ctree_populate(HyperbolaNavigationTree *view)
{
PopulateInfo subpi = {NULL};
PopulateInfo subpi = { NULL, NULL, NULL };
subpi.view = view;
......
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