aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-06-06 14:47:08 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-06-06 14:47:08 +0000
commit624bb530c113b0ab15d2abd10fc6dc4cdd8e781f (patch)
treedb61ea328f47a2cb7853130ac2483d39f9cd1303
parent927e85f20de0283a6a1eb3c38348b91173029f49 (diff)
downloadpaludis-624bb530c113b0ab15d2abd10fc6dc4cdd8e781f.tar.gz
paludis-624bb530c113b0ab15d2abd10fc6dc4cdd8e781f.tar.xz
Don't require X to build.
-rw-r--r--src/clients/gtkpaludis/vtemm/defs/generate_defs_vte.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/clients/gtkpaludis/vtemm/defs/generate_defs_vte.cc b/src/clients/gtkpaludis/vtemm/defs/generate_defs_vte.cc
index 20c9b5c..51e6181 100644
--- a/src/clients/gtkpaludis/vtemm/defs/generate_defs_vte.cc
+++ b/src/clients/gtkpaludis/vtemm/defs/generate_defs_vte.cc
@@ -20,14 +20,13 @@
*/
#include "glibmm_generate_extra_defs/generate_extra_defs.h"
-#include <gdk/gdk.h>
-#include <gtk/gtk.h>
+#include <glib-object.h>
#include <vte/vte.h>
#include <vte/reaper.h>
int main (int argc, char *argv[])
{
- gtk_init(&argc, &argv);
+ g_type_init();
std::cout << get_defs(VTE_TYPE_TERMINAL)
<< get_defs(VTE_TYPE_REAPER);