Commit b2581126 authored by Pierre Wieser's avatar Pierre Wieser

Fix reverse test on BaseApplication::UniqueApp

parent 35b3cdd5
2011-01-22 Pierre Wieser <pwieser@trychlos.org>
* src/nact/base-application.c (appli_initialize_unique_app):
Fix reverse test.
* src/nact/base-builder.c:
* src/nact/base-builder.h (base_builder_load_named_toplevel):
Renamed as base_builder_get_toplevel_by_name().
......
......@@ -574,7 +574,7 @@ appli_initialize_unique_app( BaseApplication *application, int *code )
strlen( application->private->unique_app_name )){
application->private->unique_app_handle = unique_app_new( application->private->unique_app_name, NULL );
is_first = unique_app_is_running( application->private->unique_app_handle );
is_first = !unique_app_is_running( application->private->unique_app_handle );
if( !is_first ){
unique_app_send_message( application->private->unique_app_handle, UNIQUE_ACTIVATE, NULL );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment