diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-12-31 05:54:46 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-12-31 05:54:46 +0000 |
commit | 7979cd6ac71a04e2b72bff7c00da261c49476c43 (patch) | |
tree | d58c2fdd38471bcf2f2e057c4a40aad8837a9ded /gtk/gtkprintbackend.c | |
parent | b361ebba9b6e4a0d16764cc3e9c35d51ddef96f0 (diff) | |
download | gtk+-7979cd6ac71a04e2b72bff7c00da261c49476c43.tar.gz |
Move a few settings to gtksettings.c to make sure they show up in the
2006-12-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintbackend.c:
* gtk/gtkfilechooserdefault.c:
* gtk/gtksettings.c: Move a few settings to gtksettings.c
to make sure they show up in the docs. (#365364, Christian
Persch)
svn path=/trunk/; revision=16992
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r-- | gtk/gtkprintbackend.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c index 96b65016c8..8be27d2f40 100644 --- a/gtk/gtkprintbackend.c +++ b/gtk/gtkprintbackend.c @@ -241,34 +241,6 @@ _gtk_print_backend_create (const gchar *backend_name) return pb; } -static void -gtk_print_backend_initialize (void) -{ - static gboolean initialized = FALSE; - - if (!initialized) - { - /** - * GtkSettings:gtk-print-backends: - * - * A comma-separated list of print backends to use in the print - * dialog. Available print backends depend on the GTK+ installation, - * and may include "pdf", "cups" or "lpr". - * - * Since: 2.10 - */ - gtk_settings_install_property (g_param_spec_string ("gtk-print-backends", - P_("Default print backend"), - P_("List of the GtkPrintBackend backends to use by default"), - GTK_PRINT_BACKENDS, - GTK_PARAM_READWRITE)); - - initialized = TRUE; - } -} - - - GList * gtk_print_backend_load_modules (void) { @@ -281,8 +253,6 @@ gtk_print_backend_load_modules (void) result = NULL; - gtk_print_backend_initialize (); - settings = gtk_settings_get_default (); if (settings) g_object_get (settings, "gtk-print-backends", &setting, NULL); |