[gtksourceview/wip/chergert/gsv-gtk4] completion: fix warnings for cell
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4] completion: fix warnings for cell
- Date: Sun, 30 Aug 2020 14:36:39 +0000 (UTC)
commit e142de46529cc20f79c1847dc7ac438ad1c846f6
Author: Christian Hergert <chergert redhat com>
Date: Sun Aug 30 07:36:02 2020 -0700
completion: fix warnings for cell
gtksourceview/gtksourcecompletioncell.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview/gtksourcecompletioncell.c b/gtksourceview/gtksourcecompletioncell.c
index a2a7356e9..2c2d67a7a 100644
--- a/gtksourceview/gtksourcecompletioncell.c
+++ b/gtksourceview/gtksourcecompletioncell.c
@@ -22,7 +22,7 @@
#include "config.h"
#include "gtksource-enumtypes.h"
-#include "gtksourcecompletioncell.h"
+#include "gtksourcecompletioncell-private.h"
struct _GtkSourceCompletionCell
{
@@ -72,6 +72,14 @@ gtk_source_completion_cell_set_column (GtkSourceCompletionCell *self,
gtk_widget_add_css_class (GTK_WIDGET (self), "after");
break;
+ case GTK_SOURCE_COMPLETION_COLUMN_COMMENT:
+ gtk_widget_add_css_class (GTK_WIDGET (self), "comment");
+ break;
+
+ case GTK_SOURCE_COMPLETION_COLUMN_DETAILS:
+ gtk_widget_add_css_class (GTK_WIDGET (self), "details");
+ break;
+
default:
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]