Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adrien Plazas
libhandy
Commits
17b8f294
Commit
17b8f294
authored
Jan 29, 2020
by
Adrien Plazas
Committed by
Guido Gunther
Feb 14, 2020
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/hdy-leaflet.c
View file @
17b8f294
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment