[gtksourceview/wip/chergert/gsv-gtk4] completion: remove unused code



commit fe492f35bd94375004611f5dce6cf72dae811178
Author: Christian Hergert <chergert redhat com>
Date:   Sun Aug 30 08:47:16 2020 -0700

    completion: remove unused code

 gtksourceview/gtksourcecompletionlistboxrow.c | 17 -----------------
 1 file changed, 17 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletionlistboxrow.c b/gtksourceview/gtksourcecompletionlistboxrow.c
index 3d3a81c2a..4092b6a6f 100644
--- a/gtksourceview/gtksourcecompletionlistboxrow.c
+++ b/gtksourceview/gtksourcecompletionlistboxrow.c
@@ -42,16 +42,8 @@ struct _GtkSourceCompletionListBoxRow
        GtkSourceCompletionCell     *after;
 };
 
-enum {
-       PROP_0,
-       PROP_PROPOSAL,
-       N_PROPS
-};
-
 G_DEFINE_TYPE (GtkSourceCompletionListBoxRow, gtk_source_completion_list_box_row, GTK_TYPE_LIST_BOX_ROW)
 
-static GParamSpec *properties [N_PROPS];
-
 static void
 gtk_source_completion_list_box_row_finalize (GObject *object)
 {
@@ -93,14 +85,6 @@ _gtk_source_completion_list_box_row_new (void)
        return g_object_new (GTK_SOURCE_TYPE_COMPLETION_LIST_BOX_ROW, NULL);
 }
 
-GtkSourceCompletionProposal *
-_gtk_source_completion_list_box_row_get_proposal (GtkSourceCompletionListBoxRow *self)
-{
-       g_return_val_if_fail (GTK_SOURCE_IS_COMPLETION_LIST_BOX_ROW (self), NULL);
-
-       return self->proposal;
-}
-
 void
 _gtk_source_completion_list_box_row_display (GtkSourceCompletionListBoxRow *self,
                                              GtkSourceCompletionContext    *context,
@@ -161,7 +145,6 @@ gint
 _gtk_source_completion_list_box_row_get_x_offset (GtkSourceCompletionListBoxRow *self,
                                                   GtkWidget                     *toplevel)
 {
-       GtkStyleContext *style_context;
        GtkRequisition min;
        GtkRequisition nat;
        GtkBorder margin;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]