summaryrefslogtreecommitdiff
path: root/gtk/gtktexthandle.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-01-18 08:01:40 +0100
committerTimm Bäder <mail@baedert.org>2019-01-18 19:43:50 +0100
commitc49cc977fa53d148bda6768bfd1b7c0c34774d19 (patch)
tree4058a5d9a881c40f93a4f45a2b74bfa49606fb4c /gtk/gtktexthandle.c
parent3ca688a6ddb629cab33ce9523dd8cbb9bd03b069 (diff)
downloadgtk+-c49cc977fa53d148bda6768bfd1b7c0c34774d19.tar.gz
gizmo: return void from snapshot func
This boolean return was from the old gadget code and we weren't using it in the new gizmo code.
Diffstat (limited to 'gtk/gtktexthandle.c')
-rw-r--r--gtk/gtktexthandle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtktexthandle.c b/gtk/gtktexthandle.c
index a78691cc78..84db1bedce 100644
--- a/gtk/gtktexthandle.c
+++ b/gtk/gtktexthandle.c
@@ -205,7 +205,7 @@ handle_drag_end (GtkGestureDrag *gesture,
gtk_text_handle_unset_state (handle, pos, GTK_STATE_FLAG_ACTIVE);
}
-static gboolean
+static void
snapshot_func (GtkGizmo *gizmo,
GtkSnapshot *snapshot)
{
@@ -216,7 +216,6 @@ snapshot_func (GtkGizmo *gizmo,
gtk_widget_get_width (GTK_WIDGET (gizmo)),
gtk_widget_get_height (GTK_WIDGET (gizmo)),
GTK_CSS_IMAGE_BUILTIN_HANDLE);
- return TRUE;
}
static GtkWidget *