[eog-plugins] [map] Adjust to latest clutter-gtk API



commit c31e18e74295b407c6c2477cf042ba22318d379b
Author: Felix Riemann <friemann gnome org>
Date:   Sun Feb 20 14:42:02 2011 +0100

    [map] Adjust to latest clutter-gtk API

 plugins/map/eog-map-plugin.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/map/eog-map-plugin.c b/plugins/map/eog-map-plugin.c
index f6c4c4d..e0d9681 100644
--- a/plugins/map/eog-map-plugin.c
+++ b/plugins/map/eog-map-plugin.c
@@ -61,9 +61,14 @@ update_marker_image (ChamplainLabel *marker,
 {
 	GtkWidget *widget;
 	ClutterActor *thumb;
+	gboolean result;
 
 	widget = gtk_button_new ();
-	thumb = gtk_clutter_texture_new_from_icon_name (widget, "gnome-mime-image", size);
+	thumb = gtk_clutter_texture_new ();
+	gtk_clutter_texture_set_from_icon_name (GTK_CLUTTER_TEXTURE (thumb),
+						widget,
+						"gnome-mime-image",
+						size, NULL);
 	/* don't need to unref widget because it is floating */
 
 	champlain_label_set_image (marker, thumb);



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