summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-08-14 23:39:03 +0200
committerBerke Viktor <berkeviktor@aol.com>2011-08-14 23:39:03 +0200
commit54ee14903b6be413e9b5ec7957b6b4d5a1d3ab8c (patch)
tree173ce660b12442e33d34a661770e74d9f689c3ff /src
parent75cef456709c0f6b143fb00d78b41e65a01ff5d6 (diff)
first attempt at switching to OBS, compiles, but doesn't run yet
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/xtext.c2
-rw-r--r--src/makeinc.skel.mak4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c
index 47d7e3ee..d797e5ff 100644
--- a/src/fe-gtk/xtext.c
+++ b/src/fe-gtk/xtext.c
@@ -999,7 +999,7 @@ gtk_xtext_realize (GtkWidget * widget)
 
 	gdk_window_set_user_data (widget->window, widget);
 
-	xtext->depth = gdk_drawable_get_visual (widget->window)->depth;
+	xtext->depth = gdk_window_get_visual (widget->window)->depth;
 
 	val.subwindow_mode = GDK_INCLUDE_INFERIORS;
 	val.graphics_exposures = 0;
diff --git a/src/makeinc.skel.mak b/src/makeinc.skel.mak
index ec14b34a..90751dcd 100644
--- a/src/makeinc.skel.mak
+++ b/src/makeinc.skel.mak
@@ -7,9 +7,9 @@ CPPFLAGS = /c /MD /W0 /nologo /DWIN32
 LDFLAGS = /subsystem:windows /nologo
 LIBS = $(LIBS) gdi32.lib shell32.lib user32.lib advapi32.lib imm32.lib ole32.lib winmm.lib ws2_32.lib wininet.lib comdlg32.lib libeay32.lib ssleay32.lib
 
-GLIB = /I$(DEV)\include\glib-2.0 /I$(DEV)\lib\glib-2.0\include
+GLIB = /I$(DEV)\include\glib-2.0 /I$(DEV)\lib\glib-2.0\include /I$(DEV)\include\libxml2
 GTK = /I$(DEV)\include\gtk-2.0 /I$(DEV)\lib\gtk-2.0\include /I$(DEV)\include\atk-1.0 /I$(DEV)\include\cairo /I$(DEV)\include\pango-1.0 /I$(DEV)\include\gdk-pixbuf-2.0
-LIBS = $(LIBS) /libpath:$(DEV)\lib gtk-win32-2.0.lib gdk-win32-2.0.lib atk-1.0.lib gio-2.0.lib gdk_pixbuf-2.0.lib pangowin32-1.0.lib pangocairo-1.0.lib pango-1.0.lib cairo.lib gobject-2.0.lib gmodule-2.0.lib glib-2.0.lib intl.lib libxml2.lib
+LIBS = $(LIBS) /libpath:$(DEV)\lib libgtk-win32-2.0.dll.a libgdk-win32-2.0.dll.a libatk-1.0.dll.a libgio-2.0.dll.a libgdk_pixbuf-2.0.dll.a libpangowin32-1.0.dll.a libpangocairo-1.0.dll.a libpango-1.0.dll.a libcairo.dll.a libgobject-2.0.dll.a libgmodule-2.0.dll.a libglib-2.0.dll.a libintl.dll.a libxml2.dll.a
 
 LUALIB = lua51
 LUAOUTPUT = xclua.dll