AyatanaIndicators / ayatana-indicator-notifications

Ayatana Indicator Notifications Service
GNU General Public License v3.0
4 stars 5 forks source link

g_type_class_add_private deprecations #4

Closed sunweaver closed 4 years ago

sunweaver commented 4 years ago

@tari01 : I just saw that the notifications indicators reports various deprecation warnings regarding the g_type_class_add_private deprecation. Do you have a patch for this in the pipeline already? Will you work on this? Or shall I?

   g_type_class_add_private(klass, sizeof(NotificationPrivate));
   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from notification.h:9,
                 from notification.c:6:
/usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
 void     g_type_class_add_private       (gpointer                    g_class,
          ^~~~~~~~~~~~~~~~~~~~~~~~
tari01 commented 4 years ago

@sunweaver

I'll trade you: I'll look into this, you check https://github.com/AyatanaIndicators/libayatana-indicator/issues/6 :)