static void action_preferences_callback (GtkAction *action, gpointer user_data) { GtkWindow *window; window = GTK_WINDOW (user_data); caja_file_management_properties_dialog_show (G_CALLBACK (preferences_respond_callback), window); }
int main (int argc, char *argv[]) { bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); gtk_init (&argc, &argv); eel_preferences_init ("/apps/caja"); caja_module_setup (); caja_file_management_properties_dialog_show (G_CALLBACK (caja_file_management_properties_main_close_callback), NULL); gtk_main (); return 0; }