[goffice] GUI: Implement go_font_sel_dialog_new.



commit 6214a0c2509a924cbde68427e2c39abe2db91c9a
Author: Morten Welinder <terra gnome org>
Date:   Tue Oct 1 21:39:17 2013 -0400

    GUI: Implement go_font_sel_dialog_new.
    
    I'm not sure why that was never implemented.

 ChangeLog                        |    3 +++
 goffice/gtk/go-font-sel-dialog.c |    6 ++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1933687..1528b0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-10-01  Morten Welinder  <terra gnome org>
 
+       * goffice/gtk/go-font-sel-dialog.c (go_font_sel_dialog_new):
+       Actually implement.
+
        * goffice/Makefile.am (goffice.def): Don't export go_plugin_init
        and go_plugin_shutdown (which are prototyped because modules may
        defined them).
diff --git a/goffice/gtk/go-font-sel-dialog.c b/goffice/gtk/go-font-sel-dialog.c
index e4f15ce..e2229f7 100644
--- a/goffice/gtk/go-font-sel-dialog.c
+++ b/goffice/gtk/go-font-sel-dialog.c
@@ -180,3 +180,9 @@ GSF_CLASS_FULL (GOFontSelDialog, go_font_sel_dialog,
 #if 0
 ;
 #endif
+
+GtkWidget *
+go_font_sel_dialog_new (void)
+{
+       return g_object_new (GO_TYPE_FONT_SEL_DIALOG, NULL);
+}


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