void _gedit_cmd_edit_preferences (GtkAction *action, GeditWindow *window) { gedit_debug (DEBUG_COMMANDS); gedit_show_preferences_dialog (window); }
void _gedit_cmd_edit_preferences (GSimpleAction *action, GVariant *parameter, gpointer user_data) { GeditWindow *window = GEDIT_WINDOW (user_data); gedit_debug (DEBUG_COMMANDS); gedit_show_preferences_dialog (window); }
static void preferences_activated (GSimpleAction *action, GVariant *parameter, gpointer user_data) { GtkApplication *app; GeditWindow *window; app = GTK_APPLICATION (user_data); window = GEDIT_WINDOW (gtk_application_get_active_window (app)); gedit_show_preferences_dialog (window); }