comparison src/main.c @ 367:3556cc825e59

Move layout.order default init to setup_default_options().
author zas_
date Mon, 14 Apr 2008 23:47:13 +0000
parents 384eed18df04
children f1bdbbdb73ba
comparison
equal deleted inserted replaced
366:ce00494827e2 367:3556cc825e59
1179 options->color_profile.input_name[i] = NULL; 1179 options->color_profile.input_name[i] = NULL;
1180 } 1180 }
1181 1181
1182 set_default_fullscreen_info(options); 1182 set_default_fullscreen_info(options);
1183 sidecar_ext_add_defaults(); 1183 sidecar_ext_add_defaults();
1184 options->layout.order = g_strdup("123");
1184 } 1185 }
1185 1186
1186 static void exit_program_final(void) 1187 static void exit_program_final(void)
1187 { 1188 {
1188 gchar *path; 1189 gchar *path;
1319 1320
1320 #if 1 1321 #if 1
1321 printf("%s %s, This is an alpha release.\n", GQ_APPNAME, VERSION); 1322 printf("%s %s, This is an alpha release.\n", GQ_APPNAME, VERSION);
1322 #endif 1323 #endif
1323 options = init_options(NULL); 1324 options = init_options(NULL);
1324 options->layout.order = g_strdup("123"); /* TODO: move to init_options() */
1325 setup_default_options(); 1325 setup_default_options();
1326 load_options(); 1326 load_options();
1327 1327
1328 parse_command_line(argc, argv, &cmd_path, &cmd_file, &cmd_list, &collection_list, &geometry); 1328 parse_command_line(argc, argv, &cmd_path, &cmd_file, &cmd_list, &collection_list, &geometry);
1329 1329