Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to compile with metacity 3.14.3 #32

Open
sebastianlacuesta opened this issue Dec 1, 2014 · 1 comment
Open

Fail to compile with metacity 3.14.3 #32

sebastianlacuesta opened this issue Dec 1, 2014 · 1 comment

Comments

@sebastianlacuesta
Copy link

I'm using debian metacity 1:3.14.3-1. When I try to compile compiz it fails at gtk-window-decorator.c
Compile log:

Making all in gtk
make[2]: Entering directory '/usr/local/src/compiz/compiz/build/gtk'
Making all in window-decorator
make[3]: Entering directory '/usr/local/src/compiz/compiz/build/gtk/window-decorator'
  CC       gtk-window-decorator.o
In file included from /usr/include/metacity/metacity-private/theme.h:26:0,
                 from ../../../gtk/window-decorator/gtk-window-decorator.c:83:
/usr/include/metacity/metacity-private/gradient.h:38:51: error: unknown type name ‘GdkRGBA’
                                             const GdkRGBA    *from,
                                                   ^
/usr/include/metacity/metacity-private/gradient.h:39:51: error: unknown type name ‘GdkRGBA’
                                             const GdkRGBA    *to,
                                                   ^
/usr/include/metacity/metacity-private/gradient.h:43:51: error: unknown type name ‘GdkRGBA’
                                             const GdkRGBA    *colors,
                                                   ^
/usr/include/metacity/metacity-private/gradient.h:48:51: error: unknown type name ‘GdkRGBA’
                                             const GdkRGBA     colors1[2],
                                                   ^
/usr/include/metacity/metacity-private/gradient.h:50:51: error: unknown type name ‘GdkRGBA’
                                             const GdkRGBA     colors2[2],
                                                   ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:306:7: error: unknown type name ‘GdkRGBA’
       GdkRGBA color;
       ^
/usr/include/metacity/metacity-private/theme.h:310:7: error: unknown type name ‘GtkStateFlags’
       GtkStateFlags state;
       ^
/usr/include/metacity/metacity-private/theme.h:321:7: error: unknown type name ‘GdkRGBA’
       GdkRGBA color;
       ^
/usr/include/metacity/metacity-private/theme.h:327:7: error: unknown type name ‘GdkRGBA’
       GdkRGBA color;
       ^
/usr/include/metacity/metacity-private/theme.h:556:7: error: unknown type name ‘GtkStateFlags’
       GtkStateFlags state;
       ^
/usr/include/metacity/metacity-private/theme.h:568:7: error: unknown type name ‘GtkStateFlags’
       GtkStateFlags state;
       ^
/usr/include/metacity/metacity-private/theme.h:577:7: error: unknown type name ‘GtkStateFlags’
       GtkStateFlags state;
       ^
/usr/include/metacity/metacity-private/theme.h:957:49: error: unknown type name ‘GtkStateFlags’
                                                 GtkStateFlags         state);
                                                 ^
/usr/include/metacity/metacity-private/theme.h:960:49: error: unknown type name ‘GtkStyleContext’
                                                 GtkStyleContext   *style_gtk,
                                                 ^
/usr/include/metacity/metacity-private/theme.h:961:49: error: unknown type name ‘GdkRGBA’
                                                 GdkRGBA           *color);
                                                 ^
/usr/include/metacity/metacity-private/theme.h:971:53: error: unknown type name ‘GtkStyleContext’
                                                     GtkStyleContext      *style_gtk,
                                                     ^
/usr/include/metacity/metacity-private/theme.h:985:46: error: unknown type name ‘GtkStyleContext’
                                              GtkStyleContext        *widget,
                                              ^
/usr/include/metacity/metacity-private/theme.h:1055:40: error: unknown type name ‘GtkStyleContext’
                                        GtkStyleContext        *style_gtk,
                                        ^
/usr/include/metacity/metacity-private/theme.h:1156:1: error: unknown type name ‘GtkStateFlags’
 GtkStateFlags         meta_gtk_state_from_string       (const char            *str);
 ^
/usr/include/metacity/metacity-private/theme.h:1161:57: error: unknown type name ‘GtkStyleContext’
 void                  meta_gtk_style_get_light_color   (GtkStyleContext      *style,
                                                         ^
/usr/include/metacity/metacity-private/theme.h:1162:57: error: unknown type name ‘GtkStateFlags’
                                                         GtkStateFlags         state,
                                                         ^
/usr/include/metacity/metacity-private/theme.h:1163:57: error: unknown type name ‘GdkRGBA’
                                                         GdkRGBA              *color);
                                                         ^
/usr/include/metacity/metacity-private/theme.h:1164:57: error: unknown type name ‘GtkStyleContext’
 void                  meta_gtk_style_get_dark_color    (GtkStyleContext      *style,
                                                         ^
/usr/include/metacity/metacity-private/theme.h:1165:57: error: unknown type name ‘GtkStateFlags’
                                                         GtkStateFlags         state,
                                                         ^
/usr/include/metacity/metacity-private/theme.h:1166:57: error: unknown type name ‘GdkRGBA’
                                                         GdkRGBA              *color);
                                                         ^
../../../gtk/window-decorator/gtk-window-decorator.c: In function ‘meta_get_decoration_geometry’:
../../../gtk/window-decorator/gtk-window-decorator.c:1797:7: error: passing argument 5 of ‘meta_theme_get_frame_borders’ from incompatible pointer type [-Werror]
       &top_height,
       ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1068:6: note: expected ‘struct MetaFrameBorders *’ but argument is of type ‘gint *’
 void meta_theme_get_frame_borders (MetaTheme         *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1793:5: error: too many arguments to function ‘meta_theme_get_frame_borders’
     meta_theme_get_frame_borders (theme,
     ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1068:6: note: declared here
 void meta_theme_get_frame_borders (MetaTheme         *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c: In function ‘meta_draw_window_decoration’:
../../../gtk/window-decorator/gtk-window-decorator.c:1891:2: error: implicit declaration of function ‘meta_color_spec_render’ [-Werror=implicit-function-declaration]
  meta_color_spec_render (frame_style->window_background_color,
  ^
../../../gtk/window-decorator/gtk-window-decorator.c:1891:2: error: nested extern declaration of ‘meta_color_spec_render’ [-Werror=nested-externs]
../../../gtk/window-decorator/gtk-window-decorator.c:1927:8: error: passing argument 3 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        pixmap,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct cairo_t *’ but argument is of type ‘struct GdkPixmap *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1925:6: error: incompatible type for argument 4 of ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘MetaFrameType’ but argument is of type ‘struct GdkRectangle *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1925:6: error: incompatible type for argument 8 of ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct PangoLayout *’ but argument is of type ‘MetaFrameFlags’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1934:8: error: passing argument 10 of ‘meta_theme_draw_frame’ makes pointer from integer without a cast [-Werror]
        clip.height - fgeom.top_height -
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘const struct MetaButtonLayout *’ but argument is of type ‘int’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1936:8: error: passing argument 11 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        d->layout,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘enum MetaButtonState *’ but argument is of type ‘struct PangoLayout *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1937:8: error: passing argument 12 of ‘meta_theme_draw_frame’ makes pointer from integer without a cast [-Werror]
        text_height,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct GdkPixbuf *’ but argument is of type ‘gint’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1938:8: error: passing argument 13 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        &button_layout,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct GdkPixbuf *’ but argument is of type ‘struct MetaButtonLayout *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1925:6: error: too many arguments to function ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: declared here
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1966:8: error: passing argument 3 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        pixmap,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct cairo_t *’ but argument is of type ‘struct GdkPixmap *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1964:6: error: incompatible type for argument 4 of ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘MetaFrameType’ but argument is of type ‘struct GdkRectangle *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1964:6: error: incompatible type for argument 8 of ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct PangoLayout *’ but argument is of type ‘MetaFrameFlags’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1974:8: error: passing argument 10 of ‘meta_theme_draw_frame’ makes pointer from integer without a cast [-Werror]
        clip.height - fgeom.top_height -
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘const struct MetaButtonLayout *’ but argument is of type ‘int’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1976:8: error: passing argument 11 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        d->layout,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘enum MetaButtonState *’ but argument is of type ‘struct PangoLayout *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1977:8: error: passing argument 12 of ‘meta_theme_draw_frame’ makes pointer from integer without a cast [-Werror]
        text_height,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct GdkPixbuf *’ but argument is of type ‘gint’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1978:8: error: passing argument 13 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        &button_layout,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct GdkPixbuf *’ but argument is of type ‘struct MetaButtonLayout *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:1964:6: error: too many arguments to function ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: declared here
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2029:8: error: passing argument 3 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        pixmap,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct cairo_t *’ but argument is of type ‘struct GdkPixmap *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2027:6: error: incompatible type for argument 4 of ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘MetaFrameType’ but argument is of type ‘struct GdkRectangle *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2027:6: error: incompatible type for argument 8 of ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct PangoLayout *’ but argument is of type ‘MetaFrameFlags’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2037:8: error: passing argument 10 of ‘meta_theme_draw_frame’ makes pointer from integer without a cast [-Werror]
        clip.height - fgeom.top_height -
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘const struct MetaButtonLayout *’ but argument is of type ‘int’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2039:8: error: passing argument 11 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        d->layout,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘enum MetaButtonState *’ but argument is of type ‘struct PangoLayout *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2040:8: error: passing argument 12 of ‘meta_theme_draw_frame’ makes pointer from integer without a cast [-Werror]
        text_height,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct GdkPixbuf *’ but argument is of type ‘gint’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2041:8: error: passing argument 13 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        &button_layout,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct GdkPixbuf *’ but argument is of type ‘struct MetaButtonLayout *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2027:6: error: too many arguments to function ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: declared here
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2069:8: error: passing argument 3 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        pixmap,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct cairo_t *’ but argument is of type ‘struct GdkPixmap *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2067:6: error: incompatible type for argument 4 of ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘MetaFrameType’ but argument is of type ‘struct GdkRectangle *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2067:6: error: incompatible type for argument 8 of ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct PangoLayout *’ but argument is of type ‘MetaFrameFlags’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2077:8: error: passing argument 10 of ‘meta_theme_draw_frame’ makes pointer from integer without a cast [-Werror]
        clip.height - fgeom.top_height -
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘const struct MetaButtonLayout *’ but argument is of type ‘int’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2079:8: error: passing argument 11 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        d->layout,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘enum MetaButtonState *’ but argument is of type ‘struct PangoLayout *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2080:8: error: passing argument 12 of ‘meta_theme_draw_frame’ makes pointer from integer without a cast [-Werror]
        text_height,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct GdkPixbuf *’ but argument is of type ‘gint’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2081:8: error: passing argument 13 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Werror]
        &button_layout,
        ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: expected ‘struct GdkPixbuf *’ but argument is of type ‘struct MetaButtonLayout *’
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:2067:6: error: too many arguments to function ‘meta_theme_draw_frame’
      meta_theme_draw_frame (theme,
      ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1040:6: note: declared here
 void meta_theme_draw_frame (MetaTheme              *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c: In function ‘meta_update_border_extents’:
../../../gtk/window-decorator/gtk-window-decorator.c:6085:34: error: declaration of ‘text_height’ shadows a global declaration [-Werror=shadow]
 meta_update_border_extents (gint text_height)
                                  ^
../../../gtk/window-decorator/gtk-window-decorator.c:457:18: error: shadowed declaration is here [-Werror=shadow]
 static gint      text_height;
                  ^
../../../gtk/window-decorator/gtk-window-decorator.c:6095:7: error: passing argument 5 of ‘meta_theme_get_frame_borders’ from incompatible pointer type [-Werror]
       &top_height,
       ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1068:6: note: expected ‘struct MetaFrameBorders *’ but argument is of type ‘gint *’
 void meta_theme_get_frame_borders (MetaTheme         *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:6092:5: error: too many arguments to function ‘meta_theme_get_frame_borders’
     meta_theme_get_frame_borders (theme,
     ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1068:6: note: declared here
 void meta_theme_get_frame_borders (MetaTheme         *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:6110:7: error: passing argument 5 of ‘meta_theme_get_frame_borders’ from incompatible pointer type [-Werror]
       &top_height,
       ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1068:6: note: expected ‘struct MetaFrameBorders *’ but argument is of type ‘gint *’
 void meta_theme_get_frame_borders (MetaTheme         *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c:6107:5: error: too many arguments to function ‘meta_theme_get_frame_borders’
     meta_theme_get_frame_borders (theme,
     ^
In file included from ../../../gtk/window-decorator/gtk-window-decorator.c:83:0:
/usr/include/metacity/metacity-private/theme.h:1068:6: note: declared here
 void meta_theme_get_frame_borders (MetaTheme         *theme,
      ^
../../../gtk/window-decorator/gtk-window-decorator.c: At top level:
../../../gtk/window-decorator/gtk-window-decorator.c:5908:1: error: ‘meta_update_button_layout’ defined but not used [-Werror=unused-function]
 meta_update_button_layout (const char *value)
 ^
cc1: all warnings being treated as errors
Makefile:573: recipe for target 'gtk-window-decorator.o' failed
make[3]: *** [gtk-window-decorator.o] Error 1
make[3]: Leaving directory '/usr/local/src/compiz/compiz/build/gtk/window-decorator'
Makefile:466: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/local/src/compiz/compiz/build/gtk'
Makefile:665: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/compiz/compiz/build'
Makefile:518: recipe for target 'all' failed
make: *** [all] Error 2
@KristianLyng
Copy link
Owner

Hmm, yeah, I believe this interface is updated and gtk-window-decorator doesn't track it. I'll take a look at this this weekend (sorry for the slow response, been a busy week). You may be able to get around this by using ./configure --disable-metacity for now, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants