Commit 39677907 authored by jehan's avatar jehan
Browse files

avoid relative gtk resource search on macport

minimize main windows instead of hidding for APPLE
parent 9dc22255
......@@ -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
......
......@@ -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);
......
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