Don't print warnings when the user's toolbar UI definition just doesn't exist which is no error.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3330 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
b5c392d309
commit
827f972516
@ -205,7 +205,8 @@ GtkWidget *toolbar_init(void)
|
||||
filename = utils_build_path(app->configdir, "ui_toolbar.xml", NULL);
|
||||
if (! gtk_ui_manager_add_ui_from_file(uim, filename, &error))
|
||||
{
|
||||
geany_debug("Loading user toolbar UI definition failed (%s).", error->message);
|
||||
if (error->code != G_FILE_ERROR_NOENT)
|
||||
geany_debug("Loading user toolbar UI definition failed (%s).", error->message);
|
||||
g_error_free(error);
|
||||
error = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user