[easytag] Remove unused Create_Pixmap_Icon_With_Event_Box
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Remove unused Create_Pixmap_Icon_With_Event_Box
- Date: Tue, 7 May 2013 08:04:06 +0000 (UTC)
commit 2a3a5ab88e21bf6f796170221cb9039a728e579d
Author: David King <amigadave amigadave com>
Date: Sun May 5 21:09:12 2013 +0100
Remove unused Create_Pixmap_Icon_With_Event_Box
Found with findstatic.pl.
src/misc.c | 18 ------------------
src/misc.h | 1 -
2 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/src/misc.c b/src/misc.c
index 3f821ff..24f5bbc 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -210,24 +210,6 @@ static void et_playlist_on_response (GtkDialog *dialog, gint response_id,
******************************/
/*
- * Create an icon into an event box to allow some events (as to display tooltips).
- */
-GtkWidget *Create_Pixmap_Icon_With_Event_Box (const gchar *pixmap_name)
-{
- GtkWidget *icon;
- GtkWidget *EventBox;
-
- EventBox = gtk_event_box_new();
- if (pixmap_name)
- {
- icon = gtk_image_new_from_stock(pixmap_name, GTK_ICON_SIZE_BUTTON);
- gtk_container_add(GTK_CONTAINER(EventBox),icon);
- }
-
- return EventBox;
-}
-
-/*
* Return a button with an icon and a label
*/
GtkWidget *Create_Button_With_Icon_And_Label (const gchar *pixmap_name, gchar *label)
diff --git a/src/misc.h b/src/misc.h
index b3f37a9..10ae339 100644
--- a/src/misc.h
+++ b/src/misc.h
@@ -52,7 +52,6 @@ GtkListStore *PlayListContentMaskModel;
/*
* Create Pixmaps, buttons...
*/
-GtkWidget *Create_Pixmap_Icon_With_Event_Box (const gchar *pixmap_name);
GtkWidget *Create_Button_With_Icon_And_Label (const gchar *pixmap_name, gchar *label);
GtkWidget *Create_Xpm_Image (const char **xpm_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]