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
This commit is contained in:
		| @ -49,12 +49,19 @@ GtkPrintSettings *gtk_print_settings_copy                    (GtkPrintSettings | ||||
|  | ||||
| GtkPrintSettings *gtk_print_settings_new_from_file           (const gchar          *file_name, | ||||
| 							      GError              **error); | ||||
| gboolean          gtk_print_settings_load_file               (GtkPrintSettings     *settings, | ||||
| 							      const gchar          *file_name, | ||||
| 							      GError              **error); | ||||
| gboolean          gtk_print_settings_to_file                 (GtkPrintSettings     *settings, | ||||
| 							      const gchar          *file_name, | ||||
| 							      GError              **error); | ||||
| GtkPrintSettings *gtk_print_settings_new_from_key_file       (GKeyFile             *key_file, | ||||
| 							      const gchar          *group_name, | ||||
| 							      GError              **error); | ||||
| gboolean          gtk_print_settings_load_key_file           (GtkPrintSettings     *settings, | ||||
| 							      GKeyFile             *key_file, | ||||
| 							      const gchar          *group_name, | ||||
| 							      GError              **error); | ||||
| void              gtk_print_settings_to_key_file             (GtkPrintSettings     *settings, | ||||
| 							      GKeyFile             *key_file, | ||||
| 							      const gchar          *group_name); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Mathias Hasselmann
					Mathias Hasselmann