From e395528e0d5fd5dee3961bce188442aad40c0c34 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Mon, 21 Mar 2011 01:49:01 +0100 Subject: [PATCH] Fix GOptionEntries ... to make GLib 2.28 happy. --- zathura.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zathura.c b/zathura.c index 4b02f1a..1b90d57 100644 --- a/zathura.c +++ b/zathura.c @@ -4642,9 +4642,9 @@ int main(int argc, char* argv[]) char* data_dir = 0; GOptionEntry entries[] = { - { "reparent", 'e', 0 , G_OPTION_ARG_INT, &Zathura.UI.embed, "Reparents to window specified by xid", "xid" }, - { "config-dir", 'c', G_OPTION_FLAG_FILENAME, G_OPTION_ARG_STRING, &config_dir, "Path to the config directory", "path" }, - { "data-dir", 'd', G_OPTION_FLAG_FILENAME, G_OPTION_ARG_STRING, &data_dir, "Path to the data directory", "path" }, + { "reparent", 'e', 0, G_OPTION_ARG_INT, &Zathura.UI.embed, "Reparents to window specified by xid", "xid" }, + { "config-dir", 'c', 0, G_OPTION_ARG_FILENAME, &config_dir, "Path to the config directory", "path" }, + { "data-dir", 'd', 0, G_OPTION_ARG_FILENAME, &data_dir, "Path to the data directory", "path" }, { NULL } };