[libdazzle] prefs: add missing dzl_preferences_view_new()



commit cfcea3e526e54729571a3ae95a3cb7766b28925b
Author: Christian Hergert <chergert redhat com>
Date:   Fri Nov 10 13:54:22 2017 -0800

    prefs: add missing dzl_preferences_view_new()
    
    This was in our header but never implemented.

 src/prefs/dzl-preferences-view.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/prefs/dzl-preferences-view.c b/src/prefs/dzl-preferences-view.c
index 48791c4..726af8d 100644
--- a/src/prefs/dzl-preferences-view.c
+++ b/src/prefs/dzl-preferences-view.c
@@ -943,3 +943,9 @@ dzl_preferences_iface_init (DzlPreferencesInterface *iface)
   iface->remove_id = dzl_preferences_view_remove_id;
   iface->get_widget = dzl_preferences_view_get_widget;
 }
+
+GtkWidget *
+dzl_preferences_view_new (void)
+{
+  return g_object_new (DZL_TYPE_PREFERENCES_VIEW, NULL);
+}


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