diff -ru ami-1.2.2.orig/src/applet.c ami-1.2.2/src/applet.c --- ami-1.2.2.orig/src/applet.c 2002-12-16 02:07:11.000000000 +0100 +++ ami-1.2.2/src/applet.c 2003-06-03 15:58:06.000000000 +0200 @@ -516,7 +516,7 @@ if (XGetWindowProperty(gdk_display, gdk_root_window, en, 0, 256, False, en, &type, &format, &nitems, &after, &root_data) != Success) return FALSE; if (!root_data) return FALSE; - if (*root_data) { + if (*(GdkAtom *) root_data) { XFree(root_data); return TRUE; } else { @@ -541,7 +541,7 @@ if (XGetWindowProperty(gdk_display, gdk_root_window, en, 0, 256, False, en, &type, &format, &nitems, &after, &root_data) != Success) return FALSE; if (!root_data) return FALSE; - if (*root_data) { + if (*(GdkAtom *) root_data) { XFree(root_data); return TRUE; } else {