Merge branch 'feature/remove-gtk2' into develop

This commit is contained in:
Sebastian Ramacher 2013-12-24 01:10:36 +01:00
commit 321b38ab48

5
main.c
View file

@ -47,12 +47,7 @@ main(int argc, char* argv[])
bool print_version = false; bool print_version = false;
bool synctex = false; bool synctex = false;
int page_number = ZATHURA_PAGE_NUMBER_UNSPECIFIED; int page_number = ZATHURA_PAGE_NUMBER_UNSPECIFIED;
#if GTK_CHECK_VERSION(3, 0, 0)
Window embed = 0; Window embed = 0;
#else
GdkNativeWindow embed = 0;
#endif
GOptionEntry entries[] = { GOptionEntry entries[] = {
{ "reparent", 'e', 0, G_OPTION_ARG_INT, &embed, _("Reparents to window specified by xid"), "xid" }, { "reparent", 'e', 0, G_OPTION_ARG_INT, &embed, _("Reparents to window specified by xid"), "xid" },