mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-06 00:56:00 +01:00
Fix GOptionEntries
... to make GLib 2.28 happy.
This commit is contained in:
parent
2648c3f28d
commit
315f61b157
1 changed files with 3 additions and 3 deletions
|
@ -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 }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue