build gdkwindowimpl

2008-08-01  Hans Breuer  <hans@breuer.org>

	* gdk/makefile.msc : build gdkwindowimpl

	* gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
	start of a block

	* tests/makefile.msc : update


svn path=/trunk/; revision=20926
This commit is contained in:
Hans Breuer 2008-08-01 14:43:22 +00:00 committed by Hans Breuer
parent c01cc055fd
commit 491999783b
4 changed files with 24 additions and 9 deletions

View File

@ -1,3 +1,12 @@
2008-08-01 Hans Breuer <hans@breuer.org>
* gdk/makefile.msc : build gdkwindowimpl
* gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
start of a block
* tests/makefile.msc : update
2008-07-31 Cody Russell <bratsche@gnome.org>
Bug 56070 Can't click button after setting it sensitive.

View File

@ -91,6 +91,7 @@ gdk_OBJECTS = \
gdkgc.obj \
gdkglobals.obj \
gdkimage.obj \
gdkwindowimpl.obj \
gdkkeynames.obj \
gdkkeys.obj \
gdkkeyuni.obj \

View File

@ -8067,9 +8067,11 @@ void
_gtk_widget_set_pointer_window (GtkWidget *widget,
GdkWindow *pointer_window)
{
GdkScreen *screen;
g_return_if_fail (GTK_IS_WIDGET (widget));
GdkScreen *screen = gdk_drawable_get_screen (GDK_DRAWABLE (widget->window));
screen = gdk_drawable_get_screen (GDK_DRAWABLE (widget->window));
g_object_set_qdata (G_OBJECT (screen), quark_pointer_window, pointer_window);
}
@ -8083,9 +8085,11 @@ _gtk_widget_set_pointer_window (GtkWidget *widget,
GdkWindow *
_gtk_widget_get_pointer_window (GtkWidget *widget)
{
GdkScreen *screen;
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
GdkScreen *screen = gdk_drawable_get_screen (GDK_DRAWABLE (widget->window));
screen = gdk_drawable_get_screen (GDK_DRAWABLE (widget->window));
return g_object_get_qdata (G_OBJECT (screen), quark_pointer_window);
}

View File

@ -41,7 +41,8 @@ all : \
#
TESTAPPS = \
# autotestfilechooser autotestfilesystem \
buildertest floatingtest objecttests \
# buildertest floatingtest \
objecttests \
testaccel testactions testassistant \
testbbox \
testcairo testcalendar testcellrenderertext testcombo testcombochange \
@ -50,13 +51,13 @@ TESTAPPS = \
testfilechooser testfilechooserbutton testframe \
testgrouping testgtk \
testicontheme testiconview testimage testinput \
testmenus testmenubars testmerge testmultidisplay testmultiscreen \
testmenus testmountoperation testmenubars testmerge testmultidisplay testmultiscreen \
testnouiprint testnotebookdnd \
testprint \
testrecentchooser testrecentchoosermenu testrgb testrichtext \
testselection testspinbutton \
testtext textbuffertest testtoolbar testtooltips \
testtreecolumns testtreeedit testtreeflow testtreefocus \
testtext testtoolbar testtooltips \
testtreecolumns testtreecolumnsizing testtreeedit testtreeflow testtreefocus \
testtreemodel testtreesort testtreeview treestoretest \
testsocket testsocket_child teststatusicon \
testthreads testvolumebutton testxinerama \
@ -101,8 +102,8 @@ EXTRA_OBJETCS = testsocket_common.obj
EXTRA_OBJETCS = testsocket_common.obj
!ENDIF
$(TESTAPP).exe : ../gtk/gtk-win32-$(GTK_VER).lib $(TESTAPP).obj $(EXTRA_OBJETCS) pixbuf-init.obj
$(CC) $(CFLAGS) $(TESTAPP).obj $(EXTRA_OBJETCS) pixbuf-init.obj $(GTK_LIBS) $(GDK_LIBS) $(GDK_PIXBUF_LIBS) \
$(TESTAPP).exe : ../gtk/gtk-win32-$(GTK_VER).lib $(TESTAPP).obj $(EXTRA_OBJETCS)
$(CC) $(CFLAGS) $(TESTAPP).obj $(EXTRA_OBJETCS) $(GTK_LIBS) $(GDK_LIBS) $(GDK_PIXBUF_LIBS) \
$(PANGO_LIBS) $(GLIB_LIBS) $(CAIRO_LIBS) $(EXTRA_LIBS) $(LDFLAGS)
$(TESTAPP).obj : $(TESTAPP).c