aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ui_util.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-05-02 08:54:32 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-05-02 08:54:32 +0000
commit32b38be04d7943c1ef9686ec72ca725555196dc7 (patch)
tree5f62895d05d1b17493b33b1d78feafffcd7c9473 /gtk/ui_util.h
parentfa0624b1be1fcb8a54bd8a755cad946f8f2f3062 (diff)
move function xpm_to_widget() from layout_prefs to ui_util,
as this can be useful not only in layout_prefs svn path=/trunk/; revision=10768
Diffstat (limited to 'gtk/ui_util.h')
-rw-r--r--gtk/ui_util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/ui_util.h b/gtk/ui_util.h
index 67d5e08f0f..bba3bdc590 100644
--- a/gtk/ui_util.h
+++ b/gtk/ui_util.h
@@ -1,7 +1,7 @@
/* ui_util.h
* Definitions for UI utility routines
*
- * $Id: ui_util.h,v 1.7 2004/02/13 00:53:37 guy Exp $
+ * $Id: ui_util.h,v 1.8 2004/05/02 08:54:32 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -57,4 +57,7 @@ GtkWidget *tree_view_new(GtkTreeModel *model);
/* Set the styles of all Trees based upon user preferences. */
void set_tree_styles_all(void);
+/* convert an xpm picture into a GtkWidget showing it (top_level must already be visible!) */
+GtkWidget *xpm_to_widget(const char ** xpm);
+
#endif /* __GTKGUIUI_UTIL_H__ */