[gnome-font-viewer] Remove unused variables



commit dbd278981f900db2b1c18f2c57379df60a013baa
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Nov 21 13:28:55 2015 -0800

    Remove unused variables

 src/font-model.c        |    1 -
 src/font-view.c         |    2 --
 src/sushi-font-widget.c |    3 +--
 3 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/font-model.c b/src/font-model.c
index c5344ef..d17dc30 100644
--- a/src/font-model.c
+++ b/src/font-model.c
@@ -326,7 +326,6 @@ ensure_fallback_icon (FontViewModel *self)
 {
     GtkIconTheme *icon_theme;
     GtkIconInfo *icon_info;
-    GdkPixbuf *pix;
     GIcon *icon = NULL;
 
     if (self->priv->fallback_icon != NULL)
diff --git a/src/font-view.c b/src/font-view.c
index 3e251a3..0cffae7 100644
--- a/src/font-view.c
+++ b/src/font-view.c
@@ -589,8 +589,6 @@ font_view_application_do_open (FontViewApplication *self,
     uri = g_file_get_uri (file);
 
     if (self->font_widget == NULL) {
-        GtkWidget *w;
-
         self->font_widget = GTK_WIDGET (sushi_font_widget_new (uri));
         gtk_container_add (GTK_CONTAINER (self->swin_preview), self->font_widget);
 
diff --git a/src/sushi-font-widget.c b/src/sushi-font-widget.c
index 89a5ac3..4bf75b7 100644
--- a/src/sushi-font-widget.c
+++ b/src/sushi-font-widget.c
@@ -228,8 +228,7 @@ check_font_contain_text (FT_Face face,
                          const gchar *text)
 {
   gunichar *string;
-  glong len, idx, map;
-  FT_CharMap charmap;
+  glong len, idx;
   gboolean retval = TRUE;
 
   string = g_utf8_to_ucs4_fast (text, -1, &len);


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