diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-08-05 04:01:26 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-08-06 22:06:25 +0000 |
commit | c7b4ee785e1dd2003db4415d8c29df437adb5fb5 (patch) | |
tree | 31d0524035e5753c57ac2a5419239ab3b7aff792 /x11-toolkits/gtk40/files/patch-gtk_print_gtkprinteroptionprivate.h | |
parent | 48f47042b774ff666b694792c73b46a6abc514a7 (diff) | |
download | ports-c7b4ee785e1dd2003db4415d8c29df437adb5fb5.tar.gz ports-c7b4ee785e1dd2003db4415d8c29df437adb5fb5.zip |
x11-toolkits/gtk40: update to 4.12.0
Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.12.0/NEWS
Reported by: GitLab (notify releases)
Diffstat (limited to 'x11-toolkits/gtk40/files/patch-gtk_print_gtkprinteroptionprivate.h')
-rw-r--r-- | x11-toolkits/gtk40/files/patch-gtk_print_gtkprinteroptionprivate.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/x11-toolkits/gtk40/files/patch-gtk_print_gtkprinteroptionprivate.h b/x11-toolkits/gtk40/files/patch-gtk_print_gtkprinteroptionprivate.h new file mode 100644 index 000000000000..faf24a404b5d --- /dev/null +++ b/x11-toolkits/gtk40/files/patch-gtk_print_gtkprinteroptionprivate.h @@ -0,0 +1,54 @@ +$ gtk4-demo +/usr/local/lib/gtk-4.0/4.0.0/printbackends/libprintbackend-file.so: Undefined symbol "gtk_printer_option_new" +Failed to load module: /usr/local/lib/gtk-4.0/4.0.0/printbackends/libprintbackend-file.so +/usr/local/lib/gtk-4.0/4.0.0/printbackends/libprintbackend-cups.so: Undefined symbol "gtk_printer_option_new" +Failed to load module: /usr/local/lib/gtk-4.0/4.0.0/printbackends/libprintbackend-cups.so +[...] + +--- gtk/print/gtkprinteroptionprivate.h.orig 2023-08-05 04:01:26 UTC ++++ gtk/print/gtkprinteroptionprivate.h +@@ -27,6 +27,7 @@ + #endif + + #include <glib-object.h> ++#include <gdk/gdk.h> + + G_BEGIN_DECLS + +@@ -89,26 +90,36 @@ GType gtk_printer_option_get_type (void) G_GNU + + GType gtk_printer_option_get_type (void) G_GNUC_CONST; + ++GDK_AVAILABLE_IN_ALL + GtkPrinterOption *gtk_printer_option_new (const char *name, + const char *display_text, + GtkPrinterOptionType type); ++GDK_AVAILABLE_IN_ALL + void gtk_printer_option_set (GtkPrinterOption *option, + const char *value); ++GDK_AVAILABLE_IN_ALL + void gtk_printer_option_set_has_conflict (GtkPrinterOption *option, + gboolean has_conflict); ++GDK_AVAILABLE_IN_ALL + void gtk_printer_option_clear_has_conflict (GtkPrinterOption *option); ++GDK_AVAILABLE_IN_ALL + void gtk_printer_option_set_boolean (GtkPrinterOption *option, + gboolean value); ++GDK_AVAILABLE_IN_ALL + void gtk_printer_option_allocate_choices (GtkPrinterOption *option, + int num); ++GDK_AVAILABLE_IN_ALL + void gtk_printer_option_choices_from_array (GtkPrinterOption *option, + int num_choices, + const char **choices, + const char **choices_display); ++GDK_AVAILABLE_IN_ALL + gboolean gtk_printer_option_has_choice (GtkPrinterOption *option, + const char *choice); ++GDK_AVAILABLE_IN_ALL + void gtk_printer_option_set_activates_default (GtkPrinterOption *option, + gboolean activates); ++GDK_AVAILABLE_IN_ALL + gboolean gtk_printer_option_get_activates_default (GtkPrinterOption *option); + + |