Image loading error now just warns.
[xmenu] / xmenu.h
diff --git a/xmenu.h b/xmenu.h
index 909b091..a85b44c 100644 (file)
--- a/xmenu.h
+++ b/xmenu.h
@@ -53,6 +53,7 @@ struct DC {
 
        GC gc;
 
 
        GC gc;
 
+       FcPattern *pattern;
        XftFont **fonts;
        size_t nfonts;
 };
        XftFont **fonts;
        size_t nfonts;
 };
@@ -64,7 +65,6 @@ struct Item {
        char *file;             /* filename of the icon */
        int y;                  /* item y position relative to menu */
        int h;                  /* item height */
        char *file;             /* filename of the icon */
        int y;                  /* item y position relative to menu */
        int h;                  /* item height */
-       size_t labellen;        /* strlen(label) */
        struct Item *prev;      /* previous item */
        struct Item *next;      /* next item */
        struct Menu *submenu;   /* submenu spawned by clicking on item */
        struct Item *prev;      /* previous item */
        struct Item *next;      /* next item */
        struct Menu *submenu;   /* submenu spawned by clicking on item */
@@ -72,7 +72,7 @@ struct Item {
        Imlib_Image icon;
 };
 
        Imlib_Image icon;
 };
 
-/* monitor and cursor geometry structure */
+/* monitor geometry structure */
 struct Monitor {
        int x, y, w, h;         /* monitor geometry */
 };
 struct Monitor {
        int x, y, w, h;         /* monitor geometry */
 };