[gtk+] about dialog: Correct the property definition for logo



commit 85503a8f95f004cd8449021a3d70481aec1a978d
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 23 07:38:36 2017 +0200

    about dialog: Correct the property definition for logo
    
    cairo surfaces are boxed types, not objects.

 gtk/gtkaboutdialog.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index c34a2a9..2fd7968 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -583,11 +583,11 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * Since: 2.6
    */
   props[PROP_LOGO] =
-    g_param_spec_object ("logo",
-                         P_("Logo"),
-                         P_("A logo for the about box. If this is not set, it defaults to 
gtk_window_get_default_icon_list()"),
-                         CAIRO_GOBJECT_TYPE_SURFACE,
-                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
+    g_param_spec_boxed ("logo",
+                        P_("Logo"),
+                        P_("A logo for the about box. If this is not set, it defaults to 
gtk_window_get_default_icon_list()"),
+                        CAIRO_GOBJECT_TYPE_SURFACE,
+                        GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
   /**
    * GtkAboutDialog:logo-icon-name:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]