summaryrefslogtreecommitdiff
path: root/ui/gtk/gui_utils.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-04 18:40:45 +0000
committerGuy Harris <guy@alum.mit.edu>2012-06-04 18:40:45 +0000
commit1899e6ee344d7a292e4ee1bbd6fc64d352b10f54 (patch)
tree4949850fe7bb36ea0ba6fe1809edca647db8e5e3 /ui/gtk/gui_utils.h
parenta0c9661fa50c7872072b22c63a55320dd64b36b2 (diff)
downloadwireshark-1899e6ee344d7a292e4ee1bbd6fc64d352b10f54.tar.gz
Do with the open dialog what we've done with the save and "export
selected packets" dialog. svn path=/trunk/; revision=43074
Diffstat (limited to 'ui/gtk/gui_utils.h')
-rw-r--r--ui/gtk/gui_utils.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/gtk/gui_utils.h b/ui/gtk/gui_utils.h
index 79fa7b6ce4..5669a0fc65 100644
--- a/ui/gtk/gui_utils.h
+++ b/ui/gtk/gui_utils.h
@@ -167,6 +167,7 @@ extern gboolean window_delete_event_cb(GtkWidget *win, GdkEvent *event _U_, gpoi
* @todo if main uses the window_new_with_geom() to save size and such, make this function static
*/
extern void window_get_geometry(GtkWidget *win, window_geometry_t *geom);
+
/** Set the geometry of a window.
*
* @param win the window from window_new()
@@ -187,6 +188,15 @@ extern void reactivate_window(GtkWidget *win);
/** @} */
+/** Alert box for an invalid display filter expression.
+ * Assumes "dfilter_error_msg" has been set by "dfilter_compile()" to the
+ * error message for the filter.
+ *
+ * @param parent parent window from which the display filter came
+ * @param dftext text of the display filter
+ */
+extern void bad_dfilter_alert_box_modal(GtkWidget *parent, const char *dftext);
+
/** Create a GtkScrolledWindow, set its scrollbar placement appropriately,
* and remember it.
*