[evince] libview: removing ev_annotation_window_get_icon_size



commit 620bb73ad3ad0974882172996bfaccde708db597
Author: Giselle Reis <gisellemnr src gnome org>
Date:   Wed Aug 20 18:05:52 2014 +0200

    libview: removing ev_annotation_window_get_icon_size
    
    With the modifications on how the size of the
    icon is set, this function is no longer used.

 libview/ev-annotation-window.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index 630a146..d88e657 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.c
@@ -75,8 +75,6 @@ static guint signals[N_SIGNALS];
 
 G_DEFINE_TYPE (EvAnnotationWindow, ev_annotation_window, GTK_TYPE_WINDOW)
 
-#define EV_ICON_SIZE_ANNOT_WINDOW (ev_annotation_window_get_icon_size())
-
 /* Cut and paste from gtkwindow.c */
 static void
 send_focus_change (GtkWidget *widget,
@@ -104,17 +102,6 @@ get_screen_dpi (EvAnnotationWindow *window)
        return ev_document_misc_get_screen_dpi (screen);
 }
 
-static GtkIconSize
-ev_annotation_window_get_icon_size (void)
-{
-       static GtkIconSize icon_size = 0;
-
-       if (G_UNLIKELY (icon_size == 0))
-               icon_size = gtk_icon_size_register ("ev-icon-size-annot-window", 8, 8);
-
-       return icon_size;
-}
-
 static void
 ev_annotation_window_sync_contents (EvAnnotationWindow *window)
 {


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