aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/support.c22
-rw-r--r--src/support.h1
2 files changed, 0 insertions, 23 deletions
diff --git a/src/support.c b/src/support.c
index cb90cda..c6ed34a 100644
--- a/src/support.c
+++ b/src/support.c
@@ -9,28 +9,6 @@
#include <gdk/gdkkeysyms.h>
#include <config.h>
-GtkWidget *xpm_label_box(gchar *xpm_filename)
-{
- GtkWidget *box;
- GtkWidget *image;
-
- /* Create box for image and label */
- box = gtk_hbox_new(FALSE, 0);
- gtk_container_set_border_width(GTK_CONTAINER(box), 2);
-
- /* Now on to the image stuff */
- image = gtk_image_new_from_file(xpm_filename);
-
- /* Create a label for the button */
-
- /* Pack the image and label into the box */
- gtk_box_pack_start(GTK_BOX(box), image, FALSE, FALSE, 3);
-
- gtk_widget_show(image);
-
- return box;
-}
-
int error_dialog(char *message)
{
GtkWidget *dialog;
diff --git a/src/support.h b/src/support.h
index 2b0f400..23cf3e5 100644
--- a/src/support.h
+++ b/src/support.h
@@ -1,4 +1,3 @@
#include "v4l.h"
-GtkWidget * xpm_label_box(gchar *);
int error_dialog(char *);

Privacy Policy