]> Pileus Git - ~andy/gtk/commitdiff
Disable documentation of gtk_plug_get_type and gtk_socket_get_type for
authorJohn Ralls <jralls@ceridwen.us>
Fri, 18 May 2012 20:58:24 +0000 (13:58 -0700)
committerJohn Ralls <jralls@ceridwen.us>
Fri, 18 May 2012 21:00:28 +0000 (14:00 -0700)
quartz

They're not built for quartz and consequently can't be introspected.

configure.ac
docs/reference/gtk/gtk3.types.in

index 34fc687062ad24d84d847f6f7983c2bf253540d1..122de29b324e5f986256dc9d1af126df1ccf029c 100644 (file)
@@ -361,12 +361,14 @@ else
   AM_CONDITIONAL(USE_WIN32, false)
 fi
 
+DISABLE_ON_QUARTZ=''
 if test "x$enable_quartz_backend" = xyes; then
   cairo_backends="$cairo_backends cairo-quartz"
   GDK_BACKENDS="$GDK_BACKENDS quartz"
   GDK_WINDOWING="$GDK_WINDOWING
 #define GDK_WINDOWING_QUARTZ"
   GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -framework Cocoa"
+  DISABLE_ON_QUARTZ='%'
   AM_CONDITIONAL(USE_QUARTZ, true)
   if test "x$quartz_relocation" = xyes; then
     AC_DEFINE([QUARTZ_RELOCATION], [1], [Use NSBundle functions to determine load paths for libraries, translations, etc.])
@@ -375,7 +377,7 @@ if test "x$enable_quartz_backend" = xyes; then
 else
   AM_CONDITIONAL(USE_QUARTZ, false)
 fi
-
+AC_SUBST(DISABLE_ON_QUARTZ)
 
 if test "x$enable_broadway_backend" == xyes; then
   GDK_BACKENDS="$GDK_BACKENDS broadway"
index c056794a67ec2abbb4ce20101ece0cb2e54576be..5b9b3bd01536eb2329c0e1c9780f7c91ef3249b1 100644 (file)
@@ -118,7 +118,7 @@ gtk_page_setup_get_type
 @DISABLE_ON_W32@gtk_page_setup_unix_dialog_get_type
 gtk_paned_get_type
 gtk_paper_size_get_type
-@DISABLE_ON_W32@gtk_plug_get_type
+@DISABLE_ON_W32@@DISABLE_ON_QUARTZ@gtk_plug_get_type
 @DISABLE_ON_W32@gtk_printer_get_type
 gtk_print_context_get_type
 @DISABLE_ON_W32@gtk_print_job_get_type
@@ -149,7 +149,7 @@ gtk_separator_menu_item_get_type
 gtk_separator_tool_item_get_type
 gtk_settings_get_type
 gtk_size_group_get_type
-@DISABLE_ON_W32@gtk_socket_get_type
+@DISABLE_ON_W32@@DISABLE_ON_QUARTZ@gtk_socket_get_type
 gtk_spin_button_get_type
 gtk_spinner_get_type
 gtk_statusbar_get_type