]> sjero.net Git - linphone/commitdiff
avoid relative gtk resource search on macport
authorJehan Monnier <jehan.monnier@linphone.org>
Mon, 4 Apr 2011 13:17:16 +0000 (15:17 +0200)
committerJehan Monnier <jehan.monnier@linphone.org>
Mon, 4 Apr 2011 13:17:16 +0000 (15:17 +0200)
minimize main windows instead of hidding for APPLE

configure.ac
gtk/main.c

index fbb99d2821ee1459221dad9153433df5015dfb42..04ad46c58bd4c4f13f942e3e02496d9df583141f 100644 (file)
@@ -239,7 +239,9 @@ fi
 if test "$relativeprefix" = "auto" ; then
        case $target_os in
                *darwin*)
-               relativeprefix=yes
+               if test "$enable_x11" = "false" ; then
+                       relativeprefix=yes
+               fi
                ;;
                *mingw*)
                relativeprefix=yes
index a2641b65b49826ed2d06a709721bcf72358e715a..e73ae8a5e429e09992a147183a71f3ce0b22b7ee 100644 (file)
@@ -1266,7 +1266,7 @@ gboolean linphone_gtk_close(GtkWidget *mw){
                linphone_core_terminate_all_calls(lc);
        }
        linphone_core_enable_video_preview(lc,FALSE);
-#ifdef HAVE_GTK_OSX
+#ifdef __APPLE__ /*until with have a better option*/
        gtk_window_iconify(GTK_WINDOW(mw));
 #else
        gtk_widget_hide(mw);