Changeset 3ddcf2d9cdfa
- Timestamp:
- 11/16/08 21:44:29 (7 weeks ago)
- Branch:
- trunk
- Files:
-
- 2 modified
-
mcs/mcs.cpp (modified) (5 diffs)
-
mpx/main.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mcs/mcs.cpp
r999 r1000 285 285 if (!xpathObj) 286 286 { 287 g_message("No xpathobj"); 287 288 goto clear_xpathobj; 288 289 } … … 290 291 if (!xpathObj->nodesetval) 291 292 { 293 g_message("No nodes"); 292 294 goto clear_xpathobj; 293 295 } … … 295 297 if (!xpathObj->nodesetval->nodeNr) 296 298 { 299 g_message("No nodeNr"); 297 300 goto clear_xpathobj; 298 301 } … … 300 303 if (xpathObj->nodesetval->nodeNr > 1) //XXX: There can only be ONE node! 301 304 { 305 g_message("More than 1 key with the same name"); 302 306 goto clear_xpathobj; 303 307 } … … 305 309 if (!xpathObj->nodesetval->nodeTab[0]->children) 306 310 { 311 g_message("Key is empty"); 307 312 goto clear_xpathobj; 308 313 } -
mpx/main.cc
r997 r1000 130 130 { 131 131 try{ 132 132 133 mcs = new Mcs::Mcs (Glib::build_filename (get_app_config_dir (), "config.xml"), "mpx", 0.01); 133 } catch( Mcs::Mcs::Exceptions & cxe ) 134 { 134 135 } catch( Mcs::Mcs::Exceptions & cxe ) { 136 135 137 if (cxe == Mcs::Mcs::PARSE_ERROR) 136 138 { … … 138 140 } 139 141 } 142 143 mcs->load (Mcs::Mcs::VERSION_IGNORE); 140 144 141 145 mcs->domain_register ("main-window"); … … 275 279 mcs->domain_register("PlaybackSourceMusicLib"); 276 280 mcs->key_register("PlaybackSourceMusicLib", "divider-position", 250); 277 278 mcs->load (Mcs::Mcs::VERSION_IGNORE);279 281 } 280 282
