[bijiben] window-base: remove unused code



commit ff211a9898813aa4c1785ff6ce79d181d0f1d193
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jul 6 23:26:49 2015 -0700

    window-base: remove unused code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761436

 src/bjb-window-base.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/bjb-window-base.c b/src/bjb-window-base.c
index 96c1556..d13e594 100644
--- a/src/bjb-window-base.c
+++ b/src/bjb-window-base.c
@@ -17,9 +17,6 @@
 
 #define BIJIBEN_MAIN_WIN_TITLE N_("Notes")
 
-#define BJB_DEFAULT_FONT "Serif 10"
-
-
 enum {
   PROP_0,
   PROP_NOTE,
@@ -61,9 +58,6 @@ struct _BjbWindowBasePriv
   /* when a note is opened */
   BijiNoteObj          *note;
   gboolean              detached; // detached note
-
-
-  PangoFontDescription *font ;
 };
 
 /* Gobject */
@@ -338,7 +332,6 @@ bjb_window_base_constructed (GObject *obj)
 
   /*  We probably want to offer a no entry window at first (startup) */
   priv->entry = NULL ;
-  priv->font = pango_font_description_from_string (BJB_DEFAULT_FONT);
 
   priv->controller = bjb_controller_new
     (bijiben_get_manager (BIJIBEN_APPLICATION(g_application_get_default())),
@@ -503,13 +496,6 @@ bjb_window_base_get_controller ( BjbWindowBase *window )
   return window->priv->controller ;
 }
 
-PangoFontDescription *
-window_base_get_font(GtkWidget *window)
-{
-  BjbWindowBase *b = BJB_WINDOW_BASE(window);
-  return b->priv->font ;
-}
-
 BijiNoteObj *
 bjb_window_base_get_note (BjbWindowBase *self)
 {


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