mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 21:46:01 +01:00
Reduce another #ifdef
This commit is contained in:
parent
6c7479c35e
commit
898d348770
1 changed files with 1 additions and 5 deletions
|
@ -95,9 +95,7 @@ init_zathura(const char* config_dir, const char* data_dir,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
zathura_set_xid(zathura, embed);
|
||||
#endif
|
||||
zathura_set_config_dir(zathura, config_dir);
|
||||
zathura_set_data_dir(zathura, data_dir);
|
||||
zathura_set_cache_dir(zathura, cache_dir);
|
||||
|
@ -144,9 +142,7 @@ main(int argc, char* argv[])
|
|||
Window embed = 0;
|
||||
|
||||
GOptionEntry entries[] = {
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
{ "reparent", 'e', 0, G_OPTION_ARG_INT, &embed, _("Reparents to window specified by xid"), "xid" },
|
||||
#endif
|
||||
{ "reparent", 'e', 0, G_OPTION_ARG_INT, &embed, _("Reparents to window specified by xid (X11 only)"), "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" },
|
||||
{ "cache-dir", '\0', 0, G_OPTION_ARG_FILENAME, &cache_dir, _("Path to the cache directory"), "path"},
|
||||
|
|
Loading…
Reference in a new issue