[eog-plugins] Remove unused variables and assignments



commit 5a681812b1c7dc34a59ae69825b0b1a1ceabe7df
Author: Felix Riemann <friemann gnome org>
Date:   Tue Sep 22 23:06:49 2009 +0200

    Remove unused variables and assignments

 plugins/exif-display/eog-exif-display-plugin.c |    3 ---
 plugins/fit-to-width/eog-fit-to-width-plugin.c |    2 --
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/plugins/exif-display/eog-exif-display-plugin.c b/plugins/exif-display/eog-exif-display-plugin.c
index a07309c..fc6489b 100644
--- a/plugins/exif-display/eog-exif-display-plugin.c
+++ b/plugins/exif-display/eog-exif-display-plugin.c
@@ -255,15 +255,12 @@ static void manage_exif_data (WindowData *data)
 {
 	EogImage *image;
 	ExifData *exif_data;
-	ExifByteOrder byte_order;
 
 	image = eog_thumb_view_get_first_selected_image (data->eog_thumb_view);
 	g_return_if_fail (image != NULL);
 
 	exif_data = (ExifData *)eog_image_get_exif_info (image);
 
-	byte_order = exif_data_get_byte_order (exif_data);
-
 	set_exif_label (exif_data, EXIF_TAG_DATE_TIME_ORIGINAL, data->sidebar_builder, "takenon_label", TRUE);
 
 	eog_exif_set_focal_length_label (GTK_WIDGET (gtk_builder_get_object (
diff --git a/plugins/fit-to-width/eog-fit-to-width-plugin.c b/plugins/fit-to-width/eog-fit-to-width-plugin.c
index e0e3cbc..c9dc2c3 100644
--- a/plugins/fit-to-width/eog-fit-to-width-plugin.c
+++ b/plugins/fit-to-width/eog-fit-to-width-plugin.c
@@ -106,11 +106,9 @@ impl_activate (EogPlugin *plugin,
 	       EogWindow *window)
 {
 	GtkUIManager *manager;
-	GList *action_groups;
 	WindowData *data;
 
 	manager = eog_window_get_ui_manager (window);
-	action_groups = gtk_ui_manager_get_action_groups (manager);
 	data = g_new (WindowData, 1);
 
 	data->ui_action_group = gtk_action_group_new ("EogFitToWidthPluginActions");



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