diff options
Diffstat (limited to 'gtk/viewdata.c')
-rw-r--r-- | gtk/viewdata.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/viewdata.c b/gtk/viewdata.c index 8879bca7b..55b25467e 100644 --- a/gtk/viewdata.c +++ b/gtk/viewdata.c @@ -45,6 +45,7 @@ #include "content/hlcache.h" #include "content/content.h" +#include "gtk/warn.h" #include "gtk/about.h" #include "gtk/fetch.h" #include "gtk/compat.h" @@ -544,7 +545,7 @@ tab_init(const char *title, /* save data to temporary file */ f = fopen(fname, "w"); if (f == NULL) { - warn_user(messages_get("gtkSourceTabError"), 0); + nsgtk_warning(messages_get("gtkSourceTabError"), 0); g_free(fname); return NSERROR_SAVE_FAILED; } @@ -907,7 +908,7 @@ editor_init(const char *title, /* save data to temporary file */ f = fopen(fname, "w"); if (f == NULL) { - warn_user(messages_get("gtkSourceTabError"), 0); + nsgtk_warning(messages_get("gtkSourceTabError"), 0); g_free(fname); return NSERROR_SAVE_FAILED; } |