summaryrefslogtreecommitdiff
path: root/gtk/gui_utils.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-08-27 10:41:30 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-08-27 10:41:30 +0000
commit8ed01f4cb79be09edd60df8e9e6b78fba0afaaf8 (patch)
tree7155b84440455aa23cea1c962b34facf46f1b78e /gtk/gui_utils.c
parent8618db09eb0fa18e623f59c1079393b692e34189 (diff)
downloadwireshark-8ed01f4cb79be09edd60df8e9e6b78fba0afaaf8.tar.gz
fix a warning by removing now unused code
svn path=/trunk/; revision=19051
Diffstat (limited to 'gtk/gui_utils.c')
-rw-r--r--gtk/gui_utils.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gtk/gui_utils.c b/gtk/gui_utils.c
index 891e77f4e3..e5e3b4a280 100644
--- a/gtk/gui_utils.c
+++ b/gtk/gui_utils.c
@@ -573,26 +573,6 @@ GtkWidget *xpm_to_widget(const char ** xpm) {
return xpm_to_widget_from_parent(top_level, xpm);
}
-/* Create a new hbox with an image packed into it
- * and return the box. */
-GtkWidget *xpm_box( gchar **xpm )
-{
- GtkWidget *box;
- GtkWidget *image;
-
- /* Create box for image */
- box = gtk_hbox_new (FALSE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (box), 3);
-
- /* Now on to the image stuff */
- image = xpm_to_widget (xpm);
-
- /* Pack the image into the box */
- gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 3);
-
- return box;
-}
-
/* Set the name of the top-level window and its icon to the specified
string. */