[gtksourceview/wip/chergert/gsv-gtk4: 197/259] completion: remove paintable as it is unused
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4: 197/259] completion: remove paintable as it is unused
- Date: Mon, 21 Sep 2020 23:27:47 +0000 (UTC)
commit 0df70f9bb29b69ddb8b411a060d5b5e196900812
Author: Christian Hergert <chergert redhat com>
Date: Sun Aug 30 08:45:03 2020 -0700
completion: remove paintable as it is unused
We don't separate result groups anymore, so this is not needed from
providers.
gtksourceview/gtksourcecompletionprovider.c | 8 --------
gtksourceview/gtksourcecompletionprovider.h | 3 ---
2 files changed, 11 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletionprovider.c b/gtksourceview/gtksourcecompletionprovider.c
index 5278bc02..bda9b99b 100644
--- a/gtksourceview/gtksourcecompletionprovider.c
+++ b/gtksourceview/gtksourcecompletionprovider.c
@@ -103,14 +103,6 @@ gtk_source_completion_provider_default_init (GtkSourceCompletionProviderInterfac
iface->activate = fallback_activate;
}
-GdkPaintable *
-gtk_source_completion_provider_get_paintable (GtkSourceCompletionProvider *self)
-{
- g_return_val_if_fail (GTK_SOURCE_IS_COMPLETION_PROVIDER (self), NULL);
-
- return GTK_SOURCE_COMPLETION_PROVIDER_GET_IFACE (self)->get_paintable (self);
-}
-
char *
gtk_source_completion_provider_get_title (GtkSourceCompletionProvider *self)
{
diff --git a/gtksourceview/gtksourcecompletionprovider.h b/gtksourceview/gtksourcecompletionprovider.h
index 32f2444a..d090f00e 100644
--- a/gtksourceview/gtksourcecompletionprovider.h
+++ b/gtksourceview/gtksourcecompletionprovider.h
@@ -34,7 +34,6 @@ struct _GtkSourceCompletionProviderInterface
{
GTypeInterface parent_iface;
- GdkPaintable *(*get_paintable) (GtkSourceCompletionProvider *self);
char *(*get_title) (GtkSourceCompletionProvider *self);
int (*get_priority) (GtkSourceCompletionProvider *self,
GtkSourceCompletionContext *context);
@@ -72,8 +71,6 @@ struct _GtkSourceCompletionProviderInterface
GtkSourceCompletionProposal *proposal);
};
-GTK_SOURCE_AVAILABLE_IN_5_0
-GdkPaintable *gtk_source_completion_provider_get_paintable (GtkSourceCompletionProvider *self);
GTK_SOURCE_AVAILABLE_IN_5_0
char *gtk_source_completion_provider_get_title (GtkSourceCompletionProvider *self);
GTK_SOURCE_AVAILABLE_IN_5_0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]