GtkSettings: add _gtk_settings_get_screen() private method

This commit is contained in:
Carlos Garcia Campos 2010-12-03 14:00:16 +01:00 committed by Carlos Garnacho
parent 47add6c7c3
commit a8c8c23c77
2 changed files with 8 additions and 0 deletions

View File

@ -2880,3 +2880,9 @@ get_color_scheme (GtkSettings *settings)
return g_string_free (string, FALSE);
}
GdkScreen *
_gtk_settings_get_screen (GtkSettings *settings)
{
return settings->screen;
}

View File

@ -133,6 +133,8 @@ gboolean _gtk_settings_parse_convert (GtkRcPropertyParser parser,
GParamSpec *pspec,
GValue *dest_value);
GdkScreen *_gtk_settings_get_screen (GtkSettings *settings);
G_END_DECLS