[goobox] fixed error when a gstreamer plugin is not available



commit e90b60d5f6e5936b2a889312e83b7d9ce73eb17f
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Jun 13 10:00:53 2010 +0200

    fixed error when a gstreamer plugin is not available
    
    application is null when a gstreamer plugin is not available

 src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index ac67674..02f0a42 100644
--- a/src/main.c
+++ b/src/main.c
@@ -443,7 +443,7 @@ int main (int argc, char **argv)
 	goo_session_manager_init ();
 	prepare_application ();
 
-	if (! unique_app_is_running (application)) {
+	if ((application == NULL) || ! unique_app_is_running (application)) {
 		gdk_threads_enter ();
 		gtk_main ();
 		gdk_threads_leave ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]