From 617522f78fa60e615576e8ff6fa67719a9894865 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 22 May 2014 09:54:01 +0200 Subject: [PATCH] Fix warning with linphone.png when starting linphone. --- gtk/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/main.c b/gtk/main.c index 2fd3fd897..d49fba466 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -2269,6 +2269,9 @@ int main(int argc, char *argv[]){ } } #endif + add_pixmap_directory("pixmaps"); + add_pixmap_directory(PACKAGE_DATA_DIR "/pixmaps/linphone"); + /* Now, look for the factory configuration file, we do it this late since we want to have had time to change directory and to parse the options, in case we needed to access the working directory */ @@ -2283,9 +2286,6 @@ int main(int argc, char *argv[]){ pbuf=create_pixbuf(icon_path); if (pbuf!=NULL) gtk_window_set_default_icon(pbuf); - add_pixmap_directory("pixmaps"); - add_pixmap_directory(PACKAGE_DATA_DIR "/pixmaps/linphone"); - #ifdef HAVE_GTK_OSX GtkosxApplication *theMacApp = gtkosx_application_get(); g_signal_connect(G_OBJECT(theMacApp),"NSApplicationDidBecomeActive",(GCallback)linphone_gtk_show_main_window,NULL);