#2204 closed defect (fixed)
latest trunk update produces error msgs "unknown type name 'GtkIconTheme'"
Reported by: | Owned by: | ib | |
---|---|---|---|
Priority: | high | Component: | GUI |
Version: | unspecified | Severity: | blocker |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | yes | Analyzed by developer: | yes |
Description
Summary of the bug:
How to reproduce:
% mplayer -v input MPlayer version (C) ... ...
Patches should be submitted to the mplayer-dev-eng mailing list and not this bug tracker.
cc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=native -mtune=native -pipe -g -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -fpie -DPIC -D_REENTRANT -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_REENTRANT -I/usr/include/freetype2 -DZLIB_CONST -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wno-strict-prototypes -c -o gui/dialog/dialog.o gui/dialog/dialog.c
gui/dialog/dialog.c:67:24: error: unknown type name 'GtkIconTheme'
static int gtkLoadIcon(GtkIconTheme *theme, gint size, GdkPixmap gdkIcon, GdkBitmap gdkIconMask)
gui/dialog/dialog.c: In function 'gtkInit':
gui/dialog/dialog.c:119:5: error: unknown type name 'GtkIconTheme'
GtkIconTheme *theme;
gui/dialog/dialog.c:144:5: error: implicit declaration of function 'gtk_icon_theme_get_default' [-Werror=implicit-function-declaration]
theme = gtk_icon_theme_get_default();
gui/dialog/dialog.c:144:11: warning: assignment makes pointer from integer without a cast [enabled by default]
theme = gtk_icon_theme_get_default();
gui/dialog/dialog.c:146:5: error: implicit declaration of function 'gtkLoadIcon' [-Werror=implicit-function-declaration]
if (gtkLoadIcon(theme, 16, &gdkIcon, &gdkIconMask)) {
gui/dialog/dialog.c:147:9: error: implicit declaration of function 'GDK_PIXMAP_XID' [-Werror=implicit-function-declaration]
guiIcon.small = GDK_PIXMAP_XID(gdkIcon);
Change History (2)
comment:1 by , 10 years ago
Analyzed by developer: | set |
---|---|
Owner: | set to |
Reproduced by developer: | set |
Status: | new → open |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Your GTK+ version is too old.
Fixed in r37272 and r37276.