[gtk/wip/nielsdg/g-declare-interface: 2/2] orientable: Use G_DECLARE_INTERFACE



commit d07bd2018737316e0434929bfded1e18abffd818
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri Apr 3 21:50:02 2020 +0200

    orientable: Use G_DECLARE_INTERFACE

 gtk/gtk-autocleanups.h | 2 +-
 gtk/gtkorientable.c    | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gtk/gtk-autocleanups.h b/gtk/gtk-autocleanups.h
index 2585306986..54f52b21a7 100644
--- a/gtk/gtk-autocleanups.h
+++ b/gtk/gtk-autocleanups.h
@@ -23,6 +23,7 @@
 
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccessible, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionBar, g_object_unref)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionable, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAdjustment, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooser, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserButton, g_object_unref)
@@ -106,7 +107,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuButton, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMessageDialog, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMountOperation, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkNotebook, g_object_unref)
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOrientable, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOverlay, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPageSetup, g_object_unref)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaned, g_object_unref)
diff --git a/gtk/gtkorientable.c b/gtk/gtkorientable.c
index 4987a6c76c..7b8240512b 100644
--- a/gtk/gtkorientable.c
+++ b/gtk/gtkorientable.c
@@ -43,7 +43,6 @@
  */
 
 
-typedef GtkOrientableIface GtkOrientableInterface;
 G_DEFINE_INTERFACE (GtkOrientable, gtk_orientable, G_TYPE_OBJECT)
 
 static void


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