build error fix
- From: Anders Carlsson <andersca gnu org>
- To: gtk-devel-list gnome org
- Subject: build error fix
- Date: 29 Nov 2001 20:00:38 +0100
Hello,
CVS gtk+ doesn't build currently because of what looks like an
unfinished commit. Error is:
gtkiconfactory.c: In function `get_default_icons':
gtkiconfactory.c:517: `stock_delete' undeclared (first use in this
function)
gtkiconfactory.c:517: (Each undeclared identifier is reported only once
gtkiconfactory.c:517: for each function it appears in.)
gtkiconfactory.c:552: `GTK_STOCK_TRASHCAN' undeclared (first use in this
function
Fix is attached.
//andersca
andersca gnu org
Index: gtkiconfactory.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkiconfactory.c,v
retrieving revision 1.25
diff -u -r1.25 gtkiconfactory.c
--- gtkiconfactory.c 2001/10/28 21:15:33 1.25
+++ gtkiconfactory.c 2001/10/28 22:59:33
@@ -514,7 +514,6 @@
add_unsized (factory, stock_convert, GTK_STOCK_CONVERT);
add_unsized (factory, stock_copy, GTK_STOCK_COPY);
add_unsized (factory, stock_cut, GTK_STOCK_CUT);
- add_unsized (factory, stock_delete, GTK_STOCK_DELETE);
add_unsized (factory, stock_down_arrow, GTK_STOCK_GO_DOWN);
add_unsized (factory, stock_exec, GTK_STOCK_EXECUTE);
add_unsized (factory, stock_exit, GTK_STOCK_QUIT);
@@ -549,7 +548,7 @@
add_unsized (factory, stock_text_strikeout, GTK_STOCK_STRIKETHROUGH);
add_unsized (factory, stock_text_underline, GTK_STOCK_UNDERLINE);
add_unsized (factory, stock_top, GTK_STOCK_GOTO_TOP);
- add_unsized (factory, stock_trash, GTK_STOCK_TRASHCAN);
+ add_unsized (factory, stock_trash, GTK_STOCK_DELETE);
add_unsized (factory, stock_undelete, GTK_STOCK_UNDELETE);
add_unsized (factory, stock_undo, GTK_STOCK_UNDO);
add_unsized (factory, stock_up_arrow, GTK_STOCK_GO_UP);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]