comparison src/layout_util.c @ 512:f9bf33be53ff

Remove whitespace between function name and first parenthesis for the sake of consistency.
author zas_
date Thu, 24 Apr 2008 12:23:02 +0000
parents a33badd85f16
children 985fdfebd89e
comparison
equal deleted inserted replaced
511:e21da52016c8 512:f9bf33be53ff
1385 g_string_append(desc, "</ui>" ); 1385 g_string_append(desc, "</ui>" );
1386 1386
1387 error = NULL; 1387 error = NULL;
1388 if (!gtk_ui_manager_add_ui_from_string(lw->ui_manager, desc->str, -1, &error)) 1388 if (!gtk_ui_manager_add_ui_from_string(lw->ui_manager, desc->str, -1, &error))
1389 { 1389 {
1390 g_message ("building menus failed: %s", error->message); 1390 g_message("building menus failed: %s", error->message);
1391 g_error_free (error); 1391 g_error_free(error);
1392 exit (EXIT_FAILURE); 1392 exit(EXIT_FAILURE);
1393 } 1393 }
1394 g_string_free(desc, TRUE); 1394 g_string_free(desc, TRUE);
1395 } 1395 }
1396 1396
1397 void layout_actions_setup(LayoutWindow *lw) 1397 void layout_actions_setup(LayoutWindow *lw)
1422 gtk_ui_manager_insert_action_group(lw->ui_manager, lw->action_group, 0); 1422 gtk_ui_manager_insert_action_group(lw->ui_manager, lw->action_group, 0);
1423 1423
1424 error = NULL; 1424 error = NULL;
1425 if (!gtk_ui_manager_add_ui_from_string(lw->ui_manager, menu_ui_description, -1, &error)) 1425 if (!gtk_ui_manager_add_ui_from_string(lw->ui_manager, menu_ui_description, -1, &error))
1426 { 1426 {
1427 g_message ("building menus failed: %s", error->message); 1427 g_message("building menus failed: %s", error->message);
1428 g_error_free (error); 1428 g_error_free(error);
1429 exit (EXIT_FAILURE); 1429 exit(EXIT_FAILURE);
1430 } 1430 }
1431 1431
1432 layout_actions_setup_marks(lw); 1432 layout_actions_setup_marks(lw);
1433 layout_copy_path_update(lw); 1433 layout_copy_path_update(lw);
1434 } 1434 }