mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Documentation updates.
2006-06-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges): Documentation updates. * gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_set_settings): Don't leak the ranges. (#346237, Carolyn MacLeod)
This commit is contained in:
parent
866006534c
commit
a3bfbe23ab
@ -1,5 +1,11 @@
|
||||
2006-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
|
||||
Documentation updates.
|
||||
|
||||
* gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_set_settings):
|
||||
Don't leak the ranges. (#346237, Carolyn MacLeod)
|
||||
|
||||
* gtk/gtkprintjob.[hc]: Add a PREVIEW capability to hide
|
||||
the preview button. (#346113, Christian Persch)
|
||||
|
||||
|
@ -1,5 +1,11 @@
|
||||
2006-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
|
||||
Documentation updates.
|
||||
|
||||
* gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_set_settings):
|
||||
Don't leak the ranges. (#346237, Carolyn MacLeod)
|
||||
|
||||
* gtk/gtkprintjob.[hc]: Add a PREVIEW capability to hide
|
||||
the preview button. (#346113, Christian Persch)
|
||||
|
||||
|
@ -1238,7 +1238,8 @@ gtk_print_settings_set_print_pages (GtkPrintSettings *settings,
|
||||
*
|
||||
* Gets the value of %GTK_PRINT_SETTINGS_PAGE_RANGES.
|
||||
*
|
||||
* Return value: an array of #GtkPageRange<!-- -->s
|
||||
* Return value: an array of #GtkPageRange<!-- -->s. Use g_free()
|
||||
* to free the array when it is no longer needed.
|
||||
*
|
||||
* Since: 2.10
|
||||
*/
|
||||
|
@ -2592,7 +2592,10 @@ gtk_print_unix_dialog_set_settings (GtkPrintUnixDialog *dialog,
|
||||
dialog_set_print_pages (dialog, gtk_print_settings_get_print_pages (settings));
|
||||
ranges = gtk_print_settings_get_page_ranges (settings, &num_ranges);
|
||||
if (ranges)
|
||||
dialog_set_page_ranges (dialog, ranges, num_ranges);
|
||||
{
|
||||
dialog_set_page_ranges (dialog, ranges, num_ranges);
|
||||
g_free (ranges);
|
||||
}
|
||||
|
||||
priv->format_for_printer =
|
||||
g_strdup (gtk_print_settings_get (settings, "format-for-printer"));
|
||||
|
Loading…
Reference in New Issue
Block a user