Commit 0a434335 authored by Yevgen Muntyan's avatar Yevgen Muntyan Committed by Murray Cumming

Added ifdefs around the unix-specific printer objects, to fix the build on

2007-11-05  Yevgen Muntyan  <muntyan@tamu.edu>

* tools/extra_defs_gen/generate_defs_gtk.cc: Added ifdefs around the 
unix-specific printer objects, to fix the build on Windows.

svn path=/trunk/; revision=934
parent dd83d9f4
2007-11-05 Yevgen Muntyan <muntyan@tamu.edu>
* tools/extra_defs_gen/generate_defs_gtk.cc: Added ifdefs around the
unix-specific printer objects, to fix the build on Windows.
2007-11-05 Murray Cumming <murrayc@murrayc.com>
* gdk/src/drawable.hg: Added a const overload of get_size()
......
......@@ -22,10 +22,10 @@
#include "glibmm_generate_extra_defs/generate_extra_defs.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <gtk/gtkprinter.h>
#include <gtk/gtkprintjob.h>
#if !defined(G_OS_WIN32)
#include <gtk/gtkprinter.h>
#include <gtk/gtkprintjob.h>
#include <gtk/gtkpagesetupunixdialog.h>
#include <gtk/gtkprintunixdialog.h>
#endif /* G_OS_WIN32 */
......@@ -154,8 +154,10 @@ int main (int argc, char *argv[])
<< get_defs( GTK_TYPE_PLUG )
#endif /* G_OS_WIN32 */
<< get_defs( GTK_TYPE_PREVIEW )
#if !defined(G_OS_WIN32)
<< get_defs( GTK_TYPE_PRINTER )
<< get_defs( GTK_TYPE_PRINT_JOB )
#endif /* G_OS_WIN32 */
<< get_defs( GTK_TYPE_PRINT_OPERATION )
<< get_defs( GTK_TYPE_PRINT_OPERATION_PREVIEW )
#if !defined(G_OS_WIN32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment