git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1873
ffa7fe5e-494d-0410-b361-
a75ebd5db220
return FALSE;
}
-static void
+void
gui_gtk_datawindow_destroy(struct datawindow_priv *win)
{
if ((!win->gui) || (!win->gui->datawindow)) {
return;
}
-#if 0
void
gui_gtk_datawindow_set_button(struct datawindow_priv *this_, GtkWidget *btn)
{
this_->button = btn;
}
-#endif
static gboolean
keypress(GtkWidget *widget, GdkEventKey *event, struct datawindow_priv *win)
struct statusbar_priv *gui_gtk_statusbar_new(struct gui_priv *gui);
struct menu_priv *gui_gtk_popup_new(struct gui_priv *gui, struct menu_methods *meth);
struct datawindow_priv *gui_gtk_datawindow_new(struct gui_priv *gui, char *name, struct callback *click, struct callback *close, struct datawindow_methods *meth);
+void gui_gtk_datawindow_destroy(struct datawindow_priv *win);
+void gui_gtk_datawindow_set_button(struct datawindow_priv *this_, GtkWidget *btn);
+