summaryrefslogtreecommitdiff
path: root/gtk/gtkprintunixdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-07-26 16:29:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-07-26 16:29:12 -0400
commitcda60c3c409730aa2f4ad2f5cdd0311fc97d0ee4 (patch)
tree1d724d463cea5d2ad9cc3084949005b72f087734 /gtk/gtkprintunixdialog.c
parent3358c544da2cd079f5f565b5fec885a1e750f1f2 (diff)
downloadgtk+-cda60c3c409730aa2f4ad2f5cdd0311fc97d0ee4.tar.gz
Another round of template binding api changes
We rename the gtk_widget_class_bind_template_child{_internal} macros by appending a _private to their name. Otherwise, it would be too magic to pass the 'public' names as arguments, but affect a member of the Private struct. At the same time, Add two new macros with the old names, gtk_widget_class_bind_template_child{_internal} that operate on members of the instance struct.
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r--gtk/gtkprintunixdialog.c118
1 files changed, 59 insertions, 59 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index a2ae8a2d9d..7e74a0079d 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -480,69 +480,69 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
"/org/gtk/libgtk/gtkprintunixdialog.ui");
/* GtkTreeView / GtkTreeModel */
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_treeview);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_list);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_list_filter);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, page_setup_list);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, custom_paper_list);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_icon_column);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_name_column);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_location_column);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_status_column);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_icon_renderer);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_name_renderer);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_location_renderer);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, printer_status_renderer);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_treeview);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_list);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_list_filter);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, page_setup_list);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, custom_paper_list);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_icon_column);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_name_column);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_location_column);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_status_column);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_icon_renderer);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_name_renderer);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_location_renderer);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, printer_status_renderer);
/* General Widgetry */
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, notebook);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, all_pages_radio);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, all_pages_radio);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, current_page_radio);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, selection_radio);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, range_table);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, page_range_radio);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, page_range_entry);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, copies_spin);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, collate_check);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, reverse_check);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, collate_image);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, page_layout_preview);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, scale_spin);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, page_set_combo);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, print_now_radio);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, print_at_radio);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, print_at_entry);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, print_hold_radio);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, preview_button);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, paper_size_combo);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, paper_size_combo_label);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, paper_size_renderer);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, orientation_combo);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, orientation_combo_label);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, conflicts_widget);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, job_page);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, finishing_table);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, finishing_page);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, image_quality_table);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, image_quality_page);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, color_table);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, color_page);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, advanced_vbox);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, advanced_page);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, extension_point);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, notebook);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, all_pages_radio);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, all_pages_radio);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, current_page_radio);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, selection_radio);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, range_table);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, page_range_radio);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, page_range_entry);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, copies_spin);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, collate_check);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, reverse_check);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, collate_image);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, page_layout_preview);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, scale_spin);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, page_set_combo);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, print_now_radio);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, print_at_radio);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, print_at_entry);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, print_hold_radio);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, preview_button);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, paper_size_combo);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, paper_size_combo_label);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, paper_size_renderer);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, orientation_combo);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, orientation_combo_label);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, conflicts_widget);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, job_page);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, finishing_table);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, finishing_page);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, image_quality_table);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, image_quality_page);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, color_table);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, color_page);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, advanced_vbox);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, advanced_page);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, extension_point);
/* GtkPrinterOptionWidgets... */
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, pages_per_sheet);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, duplex);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, paper_type);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, paper_source);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, output_tray);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, job_prio);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, billing_info);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, cover_before);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, cover_after);
- gtk_widget_class_bind_template_child (widget_class, GtkPrintUnixDialog, number_up_layout);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, pages_per_sheet);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, duplex);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, paper_type);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, paper_source);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, output_tray);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, job_prio);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, billing_info);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, cover_before);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, cover_after);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkPrintUnixDialog, number_up_layout);
/* Callbacks handled in the UI */
gtk_widget_class_bind_template_callback (widget_class, gtk_print_unix_dialog_destroy);