Fix warning with linphone.png when starting linphone.

This commit is contained in:
Ghislain MARY 2014-05-22 09:54:01 +02:00
parent e15cc87d5b
commit 617522f78f

View file

@ -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);