Commit 17b8f294 authored by Adrien Plazas's avatar Adrien Plazas Committed by Guido Gunther
Browse files

leaflet: Don't implement GtkBuildableIface

The implementation is just a useless empty shell.

Fixes Librem5/libhandy#197.
parent 4b4771df
Pipeline #52405 passed with stages
in 21 minutes and 27 seconds
......@@ -178,13 +178,11 @@ static gint HOMOGENEOUS_PROP[HDY_FOLD_MAX][GTK_ORIENTATION_MAX] = {
{ PROP_HHOMOGENEOUS_FOLDED, PROP_VHOMOGENEOUS_FOLDED},
};
static void hdy_leaflet_buildable_init (GtkBuildableIface *iface);
static void hdy_leaflet_swipeable_init (HdySwipeableInterface *iface);
G_DEFINE_TYPE_WITH_CODE (HdyLeaflet, hdy_leaflet, GTK_TYPE_CONTAINER,
G_ADD_PRIVATE (HdyLeaflet)
G_IMPLEMENT_INTERFACE (GTK_TYPE_ORIENTABLE, NULL)
G_IMPLEMENT_INTERFACE (GTK_TYPE_BUILDABLE, hdy_leaflet_buildable_init)
G_IMPLEMENT_INTERFACE (HDY_TYPE_SWIPEABLE, hdy_leaflet_swipeable_init))
static void
......@@ -3716,11 +3714,6 @@ hdy_leaflet_init (HdyLeaflet *self)
g_object_set_data (G_OBJECT (self), "captured-event-handler", captured_event_cb);
}
static void
hdy_leaflet_buildable_init (GtkBuildableIface *iface)
{
}
static void
hdy_leaflet_swipeable_init (HdySwipeableInterface *iface)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment