summaryrefslogtreecommitdiff
path: root/gtk/gtksettings.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-09-21 00:18:11 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-09-21 00:18:11 -0400
commite0aa12eb0ab8d20a2bc9de7d89c779d3566ee669 (patch)
tree63a25f9dd34d5a7b8776c37bccb197bf5d63bfb0 /gtk/gtksettings.c
parentca251cf1d45ed6be71065d058313b9b22d36f10d (diff)
downloadgtk+-e0aa12eb0ab8d20a2bc9de7d89c779d3566ee669.tar.gz
Tons of transfer annotations
Diffstat (limited to 'gtk/gtksettings.c')
-rw-r--r--gtk/gtksettings.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 8690a9c777..4e1f2040af 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1066,11 +1066,11 @@ gtk_settings_finalize (GObject *object)
/**
* gtk_settings_get_for_screen:
- * @screen : a #GdkScreen.
- *
+ * @screen: a #GdkScreen.
+ *
* Gets the #GtkSettings object for @screen, creating it if necessary.
*
- * Return value: a #GtkSettings object.
+ * Return value: (transfer none): a #GtkSettings object.
*
* Since: 2.2
*/
@@ -1078,9 +1078,9 @@ GtkSettings*
gtk_settings_get_for_screen (GdkScreen *screen)
{
GtkSettings *settings;
-
+
g_return_val_if_fail (GDK_IS_SCREEN (screen), NULL);
-
+
settings = g_object_get_data (G_OBJECT (screen), "gtk-settings");
if (!settings)
{