static gboolean on_key_press(GtkWidget *widget, GdkEventKey *event,
gpointer _)
{
- if (event->keyval == GDK_q)
+ if (event->keyval == GDK_KEY_q)
return grits_shutdown(widget);
return FALSE;
}
***********/
int main(int argc, char **argv)
{
- g_thread_init(NULL);
gdk_threads_init();
gtk_init(&argc, &argv);
(void)load_plugin;
load_plugin(plugins, "env", viewer, prefs, GTK_NOTEBOOK(config));
//load_plugin(plugins, "elev", viewer, prefs, GTK_NOTEBOOK(config));
- load_plugin(plugins, "sat", viewer, prefs, GTK_NOTEBOOK(config));
- //load_plugin(plugins, "map", viewer, prefs, GTK_NOTEBOOK(config));
+ //load_plugin(plugins, "sat", viewer, prefs, GTK_NOTEBOOK(config));
+ load_plugin(plugins, "map", viewer, prefs, GTK_NOTEBOOK(config));
//load_plugin(plugins, "alert", viewer, prefs, GTK_NOTEBOOK(config));
//load_plugin(plugins, "radar", viewer, prefs, GTK_NOTEBOOK(config));
load_plugin(plugins, "test", viewer, prefs, GTK_NOTEBOOK(config));