summaryrefslogtreecommitdiff
path: root/ui/gtk/stock_icons.c
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2014-03-11 12:02:23 +0100
committerBalint Reczey <balint@balintreczey.hu>2014-03-11 11:24:34 +0000
commit0f73f7959af01c8992540ec169121654c0e34a13 (patch)
tree8e89ef235c708b4b3f1d6eb466aa4bf877842de7 /ui/gtk/stock_icons.c
parent42971dc42ac95ec38b3ddd33142ff921e3b39512 (diff)
downloadwireshark-0f73f7959af01c8992540ec169121654c0e34a13.tar.gz
GTK_STOCK_PRINT_ERROR was missing in GTK+ < 2.14, too
Change-Id: I1be141c58252b8bb0db2ffff2edbb80f92c69cd6 Reviewed-on: https://code.wireshark.org/review/606 Reviewed-by: Balint Reczey <balint@balintreczey.hu> Tested-by: Balint Reczey <balint@balintreczey.hu>
Diffstat (limited to 'ui/gtk/stock_icons.c')
-rw-r--r--ui/gtk/stock_icons.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/stock_icons.c b/ui/gtk/stock_icons.c
index 73da93e0a1..a3ee04ff69 100644
--- a/ui/gtk/stock_icons.c
+++ b/ui/gtk/stock_icons.c
@@ -247,7 +247,9 @@ static stock_item_t gtk_stock_items[] = {
{(char *)GTK_STOCK_PASTE, (char *)"edit-paste", (char *)"_Paste"},
{(char *)GTK_STOCK_PREFERENCES, (char *)"preferences-system", (char *)"_Preferences"},
{(char *)GTK_STOCK_PRINT, (char *)"document-print", (char *)"_Print"},
+#ifdef GTK_STOCK_PRINT_ERROR
{(char *)GTK_STOCK_PRINT_ERROR, (char *)"printer-error", NULL},
+#endif
#ifdef GTK_STOCK_PRINT_PAUSED
{(char *)GTK_STOCK_PRINT_PAUSED, NULL, NULL},
#endif