]> Pileus Git - ~andy/gtk/commitdiff
fix typo for GTK_VER; define HAVE_CONFIG_H cause gtkprogressbar.c has
authorHans Breuer <hans@breuer.org>
Sun, 18 Sep 2005 12:27:12 +0000 (12:27 +0000)
committerHans Breuer <hans@src.gnome.org>
Sun, 18 Sep 2005 12:27:12 +0000 (12:27 +0000)
2005-09-18  Hans Breuer  <hans@breuer.org>

* gtk/makefile.msc.in : fix typo for GTK_VER; define HAVE_CONFIG_H
cause gtkprogressbar.c has #include <config.h> conditionally; less
noise from generated gtk.def
* gtk/stock-icons/makefile.msc gdk/makefile.msc tests/makefile.msc : updated

* gtk/gtktrayicon-win32.c : dummy implmentation to make gtk compile.
For me it works as well as the *NIX implemenation, that is not at all.

* gdk/win32/gdkproperty-win32.c : implement gdk_atom_intern_static_string()

* gdk/win32/gdkwindow-win32.c(gdk_window_set_urgency_hint) : only use
only use (WINVER >= 0x0500) when available from the SDK. Otherwise fall
back to true dynamic linking of FlashWindowEx. Makes gtk+ work on NT4.0
again - if compiled properly.

* tests/teststatusicon.c : don't use GNOME icons for testing, but icons
already coming with Gtk+. Makes it compile on win32.

gtk/makefile.msc.in

index 9de1ba657a3543360347ce9b7d51ebd446241056..ef14f651e58f68c32efe30d3c72dc1fe194ee669 100644 (file)
@@ -10,7 +10,7 @@ TOP = ..\..
 ################################################################
 
 # Not the real version but the one used in the DLL names
-GTK_VER = 2,0
+GTK_VER = 2.0
 GDK_PIXBUF_VER = 2.0
 
 
@@ -31,7 +31,9 @@ DEPCFLAGS = $(PANGO_CFLAGS) $(GLIB_CFLAGS) $(LIBICONV_CFLAGS) \
 LDFLAGS = $(ATK_LIBS) /link /machine:ix86 $(LINKDEBUG)
 # Some files use near as an identifier
 # Don't define GTK_COMPILATION here, because it's for gtk-x.x.dll only
-DEFINES = $(G_DEBUGGING) -DGTK_DISABLE_COMPAT_H -DG_LOG_DOMAIN=\"Gtk\" -Dnear=xxnear \
+DEFINES = \
+       -DHAVE_CONFIG_H \
+       $(G_DEBUGGING) -DGTK_DISABLE_COMPAT_H -DG_LOG_DOMAIN=\"Gtk\" -Dnear=xxnear \
        -DPANGO_ENABLE_BACKEND \
        -DGTK_VERSION=\"$(GTK_VER)\" -DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\" \
        -DGTK_HOST=\"win32\" \
@@ -196,6 +198,7 @@ gtk_OBJECTS =                                       \
        gtksocket.obj                           \
        gtksocket-win32.obj                             \
        gtkspinbutton.obj                       \
+       gtkstatusicon.obj       \
        gtkstyle.obj                            \
        gtkstatusbar.obj                        \
        gtkstock.obj                            \
@@ -224,6 +227,7 @@ gtk_OBJECTS =                                       \
        gtktoolbutton.obj                               \
        gtktoolitem.obj                         \
        gtktooltips.obj                         \
+       gtktrayicon-win32.obj   \
        gtktree.obj                             \
        gtktreedatalist.obj     \
        gtktreednd.obj                          \
@@ -276,6 +280,7 @@ gtk_public_h_sources =              \
        gtkcelllayout.h         \
        gtkcellrenderer.h       \
        gtkcellrendererpixbuf.h \
+       gtkcellrendererkeys.h   \
        gtkcellrenderertext.h   \
        gtkcellrenderertoggle.h \
        gtkcellview.h \
@@ -322,6 +327,7 @@ gtk_public_h_sources =              \
        gtkhscale.h             \
        gtkhscrollbar.h         \
        gtkhseparator.h         \
+       gtkstatusicon.h         \
        gtkhsv.h                \
        gtkiconfactory.h        \
        gtkicontheme.h          \