--- /dev/null
+/* GtkUnixPrint
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#define __GTK_UNIX_PRINT_H_INSIDE__
+
+#include <gtk/print/gtkpagesetupunixdialog.h>
+#include <gtk/print/gtkprinter.h>
+#include <gtk/print/gtkprintjob.h>
+#include <gtk/print/gtkprintunixdialog.h>
+
+#undef __GTK_UNIX_PRINT_H_INSIDE__
+
gtk_sources += 'gtksearchenginetracker3.c'
endif
+gtk_unix_print_main_header = [
+ 'gtkunixprint.h'
+]
+
if os_unix
- install_headers(gtk_unix_print_headers, subdir: 'gtk-4.0/unix-print/gtk')
+ install_headers(gtk_unix_print_main_header, subdir: 'gtk-4.0/unix-print/gtk')
+ install_headers(gtk_unix_print_headers, subdir: 'gtk-4.0/unix-print/gtk/print')
gtk_sources += gtk_unix_print_sources
endif
]
if os_unix
- gtk_introspection_sources += [ gtk_unix_print_headers, gtk_unix_print_sources ]
+ gtk_introspection_sources += [ gtk_unix_print_headers + gtk_unix_print_main_header, gtk_unix_print_sources ]
endif
if os_win32
+++ /dev/null
-/* GtkUnixPrint
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#define __GTK_UNIX_PRINT_H_INSIDE__
-
-#include <gtk/print/gtkpagesetupunixdialog.h>
-#include <gtk/print/gtkprinter.h>
-#include <gtk/print/gtkprintjob.h>
-#include <gtk/print/gtkprintunixdialog.h>
-
-#undef __GTK_UNIX_PRINT_H_INSIDE__
-
'gtkprintunixdialog.h',
'gtkprinter.h',
'gtkprintjob.h',
- 'gtkunixprint.h',
])
gtk_unix_print_sources += files([
#include <gmodule.h>
#include <gtk/gtk.h>
+#include <gtk/gtkunixprint.h>
#include <gtk/print/gtkprintbackendprivate.h>
-#include <gtk/print/gtkunixprint.h>
#include <gtk/print/gtkprinterprivate.h>
#include <gtk/gtkprivate.h>
#include <cups/ppd.h>
#include "gtkcupsutils.h"
-#include <gtk/print/gtkunixprint.h>
+#include <gtk/gtkunixprint.h>
#include <gtk/print/gtkprinterprivate.h>
#ifdef HAVE_COLORD