summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--applets/wncklet/window-list.c4
-rw-r--r--doc/reference/mate-panel-applet/Makefile.am2
3 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 9bae6ccd..52bf4be8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,4 +45,4 @@ env:
- DISTRO="archlinux:latest"
- DISTRO="debian:testing"
- DISTRO="fedora:latest"
- - DISTRO="ubuntu:20.04"
+ - DISTRO="ubuntu:rolling"
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index a20f6559..04be002d 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -164,7 +164,6 @@ static GdkPixbuf *preview_window_thumbnail (WnckWindow *wnck_window, TasklistDat
GdkWindow *window;
GdkPixbuf *screenshot;
GdkPixbuf *thumbnail;
- guchar *pixels;
double ratio;
int width, height;
int scale;
@@ -186,8 +185,7 @@ static GdkPixbuf *preview_window_thumbnail (WnckWindow *wnck_window, TasklistDat
return NULL;
/* Determine whether the contents of the screenshot are empty */
- pixels = gdk_pixbuf_get_pixels (screenshot);
- if (!g_strcmp0 ((const char *)pixels, ""))
+ if (gdk_pixbuf_get_byte_length (screenshot) == 0)
{
g_object_unref (screenshot);
return NULL;
diff --git a/doc/reference/mate-panel-applet/Makefile.am b/doc/reference/mate-panel-applet/Makefile.am
index a97192c4..5aaa1710 100644
--- a/doc/reference/mate-panel-applet/Makefile.am
+++ b/doc/reference/mate-panel-applet/Makefile.am
@@ -59,6 +59,8 @@ GTKDOC_LIBS = \
include $(top_srcdir)/gtk-doc.make
+DISTCLEANFILES = $(DOC_MODULE).actions
+
dist-hook-local:
# mkdir $(distdir)/TEXT; \
# for f in $(srcdir)/TEXT/* ; do \