static void action_help (GSimpleAction *action, GVariant *parameter, gpointer user_data) { GtkApplication *application = GTK_APPLICATION (user_data); eog_util_show_help ("preferences", GTK_WINDOW (get_focus_window (application))); }
static void eog_preferences_response_cb (GtkDialog *dlg, gint res_id, gpointer data) { switch (res_id) { case GTK_RESPONSE_HELP: eog_util_show_help ("preferences", NULL); break; default: gtk_widget_destroy (GTK_WIDGET (dlg)); instance = NULL; } }