[gtk+] GtkSettings: add _gtk_settings_get_screen() private method
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkSettings: add _gtk_settings_get_screen() private method
- Date: Sat, 4 Dec 2010 15:27:53 +0000 (UTC)
commit a8c8c23c779106a0c45d55d2efbbba516de101b3
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Fri Dec 3 14:00:16 2010 +0100
GtkSettings: add _gtk_settings_get_screen() private method
gtk/gtksettings.c | 6 ++++++
gtk/gtksettings.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index f57924b..2f51758 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -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;
+}
diff --git a/gtk/gtksettings.h b/gtk/gtksettings.h
index 36fb9a5..6958db0 100644
--- a/gtk/gtksettings.h
+++ b/gtk/gtksettings.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]