[Xfce4-commits] [xfce/exo] 01/01: Fix type declaration (Bug #16678)

noreply at xfce.org noreply at xfce.org
Sun Apr 12 22:42:44 CEST 2020


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/exo.

commit 7e16cb50d5988d46400543ef699d47846f0a2bb6
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Apr 12 17:41:52 2020 -0300

    Fix type declaration (Bug #16678)
---
 exo/exo-icon-view.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c
index 9a2bc8c..65597a9 100644
--- a/exo/exo-icon-view.c
+++ b/exo/exo-icon-view.c
@@ -636,7 +636,7 @@ G_DEFINE_TYPE_WITH_CODE (ExoIconView, exo_icon_view, GTK_TYPE_CONTAINER,
 #if GTK_CHECK_VERSION (3, 0, 0)
     G_IMPLEMENT_INTERFACE (GTK_TYPE_SCROLLABLE, NULL)
 #endif
-                        )
+    G_ADD_PRIVATE (ExoIconView))
 
 static AtkObject *
 exo_icon_view_get_accessible (GtkWidget *widget)
@@ -708,11 +708,6 @@ exo_icon_view_class_init (ExoIconViewClass *klass)
   GtkBindingSet     *gtkbinding_set;
   GObjectClass      *gobject_class;
 
-  /* add our private data to the type's instances */
-  G_GNUC_BEGIN_IGNORE_DEPRECATIONS /* GObject 2.58 */
-  g_type_class_add_private (klass, sizeof (ExoIconViewPrivate));
-  G_GNUC_END_IGNORE_DEPRECATIONS
-
   gobject_class = G_OBJECT_CLASS (klass);
   gobject_class->dispose = exo_icon_view_dispose;
   gobject_class->finalize = exo_icon_view_finalize;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list