diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-04-29 06:23:58 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-04-29 06:23:58 +0000 |
commit | 3c5bd522b36383afa704d39bf12963683a4663ea (patch) | |
tree | 0c3222b44bb43e6224c94e932620f740d990de85 /gtk/gtkpapersize.h | |
parent | ea3667c49ca6ee6c692bc6fbf00d8769c80deca3 (diff) | |
download | gtk+-3c5bd522b36383afa704d39bf12963683a4663ea.tar.gz |
Add a new error code
2007-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.h: Add a new error code
* gtk/gtk.symbols:
* gtk/gtkpagesetup.[hc]:
* gtk/gtkpapersize.[hc]:
* gtk/gtkprintsettings.[hc]: Add functions to serialize
and deserialize page setups and print settings to files
and key files. (#344515, Christian Persch)
* gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
* tests/print-editor.c: Use the new functions to persist
page setup and print settings.
svn path=/trunk/; revision=17697
Diffstat (limited to 'gtk/gtkpapersize.h')
-rw-r--r-- | gtk/gtkpapersize.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkpapersize.h b/gtk/gtkpapersize.h index 8709cdf2f4..dc2cfed14e 100644 --- a/gtk/gtkpapersize.h +++ b/gtk/gtkpapersize.h @@ -84,6 +84,13 @@ gdouble gtk_paper_size_get_default_right_margin (GtkPaperSize *size, G_CONST_RETURN gchar *gtk_paper_size_get_default (void); +GtkPaperSize *gtk_paper_size_new_from_key_file (GKeyFile *key_file, + const gchar *group_name, + GError **error); +void gtk_paper_size_to_key_file (GtkPaperSize *size, + GKeyFile *key_file, + const gchar *group_name); + G_END_DECLS #endif /* __GTK_PAPER_SIZE_H__ */ |