diff --git a/sflphone-gtk/src/Makefile.am b/sflphone-gtk/src/Makefile.am index d94ed9896861bcae31364a0d344506c7300370f9..bc4e59da1afb82230219b79073fe01d9538d56c1 100644 --- a/sflphone-gtk/src/Makefile.am +++ b/sflphone-gtk/src/Makefile.am @@ -35,8 +35,8 @@ AM_CPPFLAGS = $(DEPS_CFLAGS) \ -DCODECS_DIR=\""$(libdir)/sflphone/codecs" # add symbolic link -install-exec-hook: - ln -s $(bindir)/sflphone-gtk $(bindir)/sflphone +install-exec-local: + ln -sf $(bindir)/sflphone-gtk $(bindir)/sflphone uninstall-local: -test -h $(bindir)/sflphone && rm $(bindir)/sflphone diff --git a/sflphone-gtk/src/mainwindow.c b/sflphone-gtk/src/mainwindow.c index 2bf9370690a2e28ee24d2f402814978a2fc8be93..ba30ca0a3af7db06669d6e08e59b042a034451b7 100644 --- a/sflphone-gtk/src/mainwindow.c +++ b/sflphone-gtk/src/mainwindow.c @@ -40,13 +40,11 @@ GtkWidget * mic_control = NULL; GtkWidget * statusBar = NULL; /** - * Terminate the main loop. + * Minimize the main window. */ static gboolean on_delete (GtkWidget * widget, gpointer data) { - /* Must return FALSE to have the window destroyed */ - //return !sflphone_quit(); gtk_widget_hide(GTK_WIDGET( get_main_window() )); set_minimized( TRUE ); return TRUE;