[mutter/wayland] Fix distcheck



commit b53bf0e8c2f84c93acbef5cb9d08fedce80b8013
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Tue Sep 3 16:55:26 2013 +0200

    Fix distcheck
    
    Missing translation files, missing dists and some -Werrors.

 po/POTFILES.in                     |    4 ++--
 src/Makefile.am                    |    5 ++++-
 src/compositor/compositor.c        |    2 +-
 src/compositor/meta-window-actor.c |   10 ++++------
 src/core/stack-tracker.c           |    1 -
 5 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index fb89335..5735119 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -21,9 +21,9 @@ src/core/util.c
 src/core/window.c
 src/core/window-props.c
 src/core/xprops.c
-src/mutter.desktop.in
-src/mutter-wm.desktop.in
+src/mutter-wayland.desktop.in
 src/org.gnome.mutter.gschema.xml.in
+src/org.gnome.mutter.wayland.gschema.xml.in
 src/ui/frames.c
 src/ui/menu.c
 src/ui/metaaccellabel.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 1c6195d..2d98d97 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -336,6 +336,7 @@ CLEANFILES =                                        \
        mutter-wayland.desktop                  \
        mutter-wm.desktop                       \
        org.gnome.mutter.gschema.xml            \
+       org.gnome.mutter.wayland.gschema.xml    \
        $(xml_DATA)                             \
        $(mutter_built_sources)                 \
        $(typelib_DATA)                         \
@@ -352,10 +353,12 @@ EXTRA_DIST=$(desktopfiles_files)  \
        $(wmproperties_in_files)        \
        $(xml_in_files)                 \
        org.gnome.mutter.gschema.xml.in \
+       org.gnome.mutter.wayland.gschema.xml.in \
        mutter-schemas.convert \
        libmutter-wayland.pc.in \
        mutter-enum-types.h.in \
-       mutter-enum-types.c.in
+       mutter-enum-types.c.in \
+       xrandr.xml idle-monitor.xml
 
 BUILT_SOURCES = $(mutter_built_sources)
 MUTTER_STAMP_FILES = stamp-mutter-enum-types.h
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 8660898..09393d2 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -694,7 +694,7 @@ meta_compositor_manage_screen (MetaCompositor *compositor,
   MetaCompScreen *info;
   MetaDisplay    *display       = meta_screen_get_display (screen);
   Display        *xdisplay      = meta_display_get_xdisplay (display);
-  Window          xwin;
+  Window          xwin = None;
   gint            width, height;
   MetaWaylandCompositor *wayland_compositor;
 
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index b967b57..6e7f4bf 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -451,12 +451,7 @@ meta_window_actor_dispose (GObject *object)
   info     = meta_screen_get_compositor_data (screen);
 
   if (!meta_is_wayland_compositor ())
-    {
-      display  = meta_screen_get_display (screen);
-      xdisplay = meta_display_get_xdisplay (display);
-
-      meta_window_actor_detach_x11_pixmap (self);
-    }
+    meta_window_actor_detach_x11_pixmap (self);
 
   if (priv->send_frame_messages_timer != 0)
     {
@@ -477,6 +472,9 @@ meta_window_actor_dispose (GObject *object)
 
   if (!meta_is_wayland_compositor () && priv->damage != None)
     {
+      display  = meta_screen_get_display (screen);
+      xdisplay = meta_display_get_xdisplay (display);
+
       meta_error_trap_push (display);
       XDamageDestroy (xdisplay, priv->damage);
       meta_error_trap_pop (display);
diff --git a/src/core/stack-tracker.c b/src/core/stack-tracker.c
index fb26b6b..63044a2 100644
--- a/src/core/stack-tracker.c
+++ b/src/core/stack-tracker.c
@@ -1051,7 +1051,6 @@ stack_tracker_event_received (MetaStackTracker *tracker,
 
   tracker->xserver_serial = op->any.serial;
 
-#warning "TODO: remove unused tracker->xserver_stack"
   /* XXX: With the design we have ended up with it looks like we've
    * ended up making it unnecessary to maintain tracker->xserver_stack
    * since we only need an xserver_stack during the


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]