summaryrefslogtreecommitdiff
path: root/gtk/gtkpagesetup.h
diff options
context:
space:
mode:
authorMathias Hasselmann <hasselmm@src.gnome.org>2007-12-14 09:02:54 +0000
committerMathias Hasselmann <hasselmm@src.gnome.org>2007-12-14 09:02:54 +0000
commitea8074a4077ac7bf90f3873160da35bd491e8079 (patch)
treec8f996191b97e96ed1304848928507b4a13e7cf0 /gtk/gtkpagesetup.h
parentda057b56750a588f0216d6dc69b7a898a12480f9 (diff)
downloadgtk+-ea8074a4077ac7bf90f3873160da35bd491e8079.tar.gz
Extract loading of GtkPageSetup and GtkPrintSettings from their *_new_*()
functions and move that code into separate *_load_*() functions (#475565). * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h: Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file, gtk_print_settings_load_file and gtk_print_settings_load_key_file. Change the matching *_new_*() functions to use those functions. svn path=/trunk/; revision=19176
Diffstat (limited to 'gtk/gtkpagesetup.h')
-rw-r--r--gtk/gtkpagesetup.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkpagesetup.h b/gtk/gtkpagesetup.h
index 6de2ef5f3f..e73908195f 100644
--- a/gtk/gtkpagesetup.h
+++ b/gtk/gtkpagesetup.h
@@ -82,12 +82,19 @@ gdouble gtk_page_setup_get_page_height (GtkPageSetup *setup,
/* Saving and restoring page setup */
GtkPageSetup *gtk_page_setup_new_from_file (const gchar *file_name,
GError **error);
+gboolean gtk_page_setup_load_file (GtkPageSetup *setup,
+ const char *file_name,
+ GError **error);
gboolean gtk_page_setup_to_file (GtkPageSetup *setup,
const char *file_name,
GError **error);
GtkPageSetup *gtk_page_setup_new_from_key_file (GKeyFile *key_file,
const gchar *group_name,
GError **error);
+gboolean gtk_page_setup_load_key_file (GtkPageSetup *setup,
+ GKeyFile *key_file,
+ const gchar *group_name,
+ GError **error);
void gtk_page_setup_to_key_file (GtkPageSetup *setup,
GKeyFile *key_file,
const gchar *group_name);