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