Commit 8b13a044 authored by Cosimo Cecchi's avatar Cosimo Cecchi

general: use eel_create_spotlight_pixbuf()

parent 09f0b79d
......@@ -34,7 +34,7 @@
#include <gtk/gtk.h>
#include <libegg/eggtreemultidnd.h>
#include <eel/eel-gdk-pixbuf-extensions.h>
#include <eel/eel-graphic-effects.h>
#include <libnautilus-private/nautilus-dnd.h>
enum {
......@@ -357,7 +357,7 @@ nautilus_list_model_get_value (GtkTreeModel *tree_model, GtkTreeIter *iter, int
g_list_find_custom (model->details->highlight_files,
file, (GCompareFunc) nautilus_file_compare_location))
{
rendered_icon = eel_gdk_pixbuf_render (icon, 1, 255, 255, 0, 0);
rendered_icon = eel_create_spotlight_pixbuf (icon);
if (rendered_icon != NULL) {
g_object_unref (icon);
......
......@@ -42,9 +42,9 @@
#include <eel/eel-debug.h>
#include <eel/eel-gtk-extensions.h>
#include <eel/eel-glib-extensions.h>
#include <eel/eel-graphic-effects.h>
#include <eel/eel-string.h>
#include <eel/eel-stock-dialogs.h>
#include <eel/eel-gdk-pixbuf-extensions.h>
#include "nautilus-application.h"
#include "nautilus-bookmark-list.h"
......@@ -225,7 +225,7 @@ get_eject_icon (gboolean highlighted)
if (highlighted) {
GdkPixbuf *high;
high = eel_gdk_pixbuf_render (eject, 1, 255, 255, 0, 0);
high = eel_create_spotlight_pixbuf (eject);
g_object_unref (eject);
eject = high;
}
......
......@@ -30,7 +30,7 @@
#include "nautilus-tree-sidebar-model.h"
#include <eel/eel-gdk-pixbuf-extensions.h>
#include <eel/eel-graphic-effects.h>
#include <libnautilus-private/nautilus-directory.h>
#include <libnautilus-private/nautilus-file-attributes.h>
......@@ -321,7 +321,7 @@ get_menu_icon_for_file (TreeNode *node,
file, (GCompareFunc) nautilus_file_compare_location) != NULL);
if (highlight) {
pixbuf = eel_gdk_pixbuf_render (retval, 1, 255, 255, 0, 0);
pixbuf = eel_create_spotlight_pixbuf (retval);
if (pixbuf != NULL) {
g_object_unref (retval);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment