]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-stock-icons.c
Use icon theme associated with the window screen rather than default.
[evince.git] / shell / ev-stock-icons.c
index 3b304895f5371804d93c6481f3f8339103eabf30..f2d059b9cd4c8e8300c6774b912df39352f71f21 100644 (file)
@@ -21,8 +21,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
-
 #include "ev-stock-icons.h"
 
 #include <gtk/gtkiconfactory.h>
@@ -45,7 +43,6 @@ static const EvStockIcon stock_icons [] = {
        { EV_STOCK_ROTATE_RIGHT,     "object-rotate-right"},
 };
 
-
 void
 ev_stock_icons_init (void)
 {
@@ -73,12 +70,4 @@ ev_stock_icons_init (void)
        gtk_icon_source_free (source);
 
        g_object_unref (G_OBJECT (factory));
-
-        /* GtkIconTheme will then look in Evince custom hicolor dir
-         * for icons as well as the standard search paths
-         */
-        /* FIXME: multi-head! */
-        gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
-                                           DATADIR G_DIR_SEPARATOR_S "icons");
-
 }