NetSurf
Functions
warn.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror nsgtk_warning (const char *warning, const char *detail)
 Warn the user of an event. More...
 

Function Documentation

◆ nsgtk_warning()

nserror nsgtk_warning ( const char *  warning,
const char *  detail 
)

Warn the user of an event.

Parameters
[in]warningA warning looked up in the message translation table
[in]detailAdditional text to be displayed or NULL.
Returns
NSERROR_OK on success or error code if there was a faliure displaying the message to the user.

Definition at line 96 of file gui.c.

References messages_get(), NSERROR_OK, NSLOG, and warning_builder.

Referenced by about_open(), contents_button_clicked_cb(), customisation_toolbar_drag_drop_cb(), debugboxtree_button_clicked_cb(), debugdomtree_button_clicked_cb(), editor_init(), gui_launch_url(), gui_window_create(), guide_button_clicked_cb(), home_button_clicked_cb(), info_button_clicked_cb(), newtab_button_clicked_cb(), newwindow_button_clicked_cb(), nsgtk_completion_match_select(), nsgtk_download_dialog_show(), nsgtk_menu_developer_submenu(), nsgtk_menu_edit_submenu(), nsgtk_menu_export_submenu(), nsgtk_menu_file_submenu(), nsgtk_menu_help_submenu(), nsgtk_menu_nav_submenu(), nsgtk_menu_scaleview_submenu(), nsgtk_menu_tabs_submenu(), nsgtk_menu_toolbars_submenu(), nsgtk_menu_tools_submenu(), nsgtk_menu_view_submenu(), nsgtk_on_link_opentab_activate_menu(), nsgtk_on_link_openwin_activate_menu(), nsgtk_on_savelink_activate_menu(), openfile_button_clicked_cb(), print_button_clicked_cb(), savepage_button_clicked_cb(), tab_init(), url_entry_activate_cb(), viewsource_button_clicked_cb(), and websearch_entry_activate_cb().

Here is the call graph for this function:
Here is the caller graph for this function: