[libdazzle] widgets: remove unusable _new() func



commit 1518c9e82c29ee79d49e082cc73406a7318ceff6
Author: Christian Hergert <chergert redhat com>
Date:   Thu Apr 25 00:59:45 2019 -0700

    widgets: remove unusable _new() func
    
    This can't be used because the class is abstract.

 src/widgets/dzl-list-box-row.c | 6 ------
 src/widgets/dzl-list-box-row.h | 3 ---
 2 files changed, 9 deletions(-)
---
diff --git a/src/widgets/dzl-list-box-row.c b/src/widgets/dzl-list-box-row.c
index 9aead57..62bd44c 100644
--- a/src/widgets/dzl-list-box-row.c
+++ b/src/widgets/dzl-list-box-row.c
@@ -60,9 +60,3 @@ static void
 dzl_list_box_row_init (DzlListBoxRow *self)
 {
 }
-
-GtkWidget *
-dzl_list_box_row_new (void)
-{
-  return g_object_new (DZL_TYPE_LIST_BOX_ROW, NULL);
-}
diff --git a/src/widgets/dzl-list-box-row.h b/src/widgets/dzl-list-box-row.h
index 6dbd512..55814d6 100644
--- a/src/widgets/dzl-list-box-row.h
+++ b/src/widgets/dzl-list-box-row.h
@@ -33,9 +33,6 @@ struct _DzlListBoxRowClass
   GtkListBoxRowClass parent_class;
 };
 
-DZL_AVAILABLE_IN_3_30
-GtkWidget *dzl_list_box_row_new (void);
-
 G_END_DECLS
 
 #endif /* DZL_LIST_BOX_ROW_H */


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