bugGNU Paint - Bugs: bug #48713, Build error, GTK_RESPONSE_DISCARD...

 
 

bug #48713: Build error, GTK_RESPONSE_DISCARD undeclared before first use in drawing.c

Submitter:  None
Submitted:  Sat 06 Aug 2016 10:54:36 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 06 Aug 2016 10:54:36 PM UTC, original submission:  

Output from `make' command (the part where the error occurs):

gcc -DPACKAGE_NAME=\"gpaint-2\" -DPACKAGE_TARNAME=\"gpaint-2\" -DPACKAGE_VERSION=\"0.3.2\" -DPACKAGE_STRING=\"gpaint-2\ 0.3.2\" -DPACKAGE_BUGREPORT=\"http://savannah.gnu.org/bugs/\?group=gpaint\" -DPACKAGE=\"gpaint-2\" -DVERSION=\"0.3.2\" -DSTDC_HEADERS=1 -DGETTEXT_PACKAGE=\"gpaint-2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1  -I. -I.  -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -g -O2 -c drawing.c
drawing.c: In function ‘drawing_prompt_to_save’:
drawing.c:432:69: error: ‘GTK_RESPONSE_DISCARD’ undeclared (first use in this function)
         gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_DISCARD,GTK_RESPONSE_DISCARD);
                                                                     ^~~~~~~~~~~~~~~~~~~~
drawing.c:432:69: note: each undeclared identifier is reported only once for each function it appears in
make[1]: * [Makefile:220: drawing.o] Error 1
make[1]: Leaving directory '/home/strupo/Downloads/gpaint-2-0.3.2/src'
make: * [Makefile:134: all-recursive] Error 1

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code