[eog-plugins] Remove trailing whitespaces



commit dcba4f8a0f96638a7f0141e354d256b954702a91
Author: Felix Riemann <friemann svn gnome org>
Date:   Mon Apr 27 17:08:20 2009 +0200

    Remove trailing whitespaces
---
 ChangeLog                                      |    6 +++++
 plugins/fit-to-width/eog-fit-to-width-plugin.c |   20 +++++++++---------
 plugins/postr/eog-postr-plugin.c               |   26 ++++++++++++------------
 3 files changed, 29 insertions(+), 23 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a21d760..1b2af64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-04-27  Felix Riemann  <friemann svn gnome org>
 
+	* plugins/fit-to-width/eog-fit-to-width-plugin.c:
+	* plugins/postr/eog-postr-plugin.c:
+	Remove trailing whitespaces.
+
+2009-04-27  Felix Riemann  <friemann svn gnome org>
+
 	* plugins/fit-to-width/eog-fit-to-width-plugin.c
 	(eog_fit_to_width_plugin_class_init):
 	Remove unused functions from fit-to-width plugin.
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 415782e..e0e3cbc 100644
--- a/plugins/fit-to-width/eog-fit-to-width-plugin.c
+++ b/plugins/fit-to-width/eog-fit-to-width-plugin.c
@@ -31,7 +31,7 @@
 
 
 #define WINDOW_DATA_KEY "EogFitToWidthWindowData"
-	
+
 EOG_PLUGIN_REGISTER_TYPE(EogFitToWidthPlugin, eog_fit_to_width_plugin)
 
 typedef struct
@@ -52,13 +52,13 @@ fit_to_width_cb (GtkAction *action,
 	double         zoom;
 
 	g_return_if_fail (EOG_IS_WINDOW (window));
-	
+
 	view = eog_window_get_view (window);
 	image = eog_window_get_image (window);
 
 	g_return_if_fail (EOG_IS_SCROLL_VIEW (view));
 	g_return_if_fail (EOG_IS_IMAGE (image));
-	
+
 	eog_image_get_size (image, &image_width, &image_height);
 	view_width = view->allocation.width;
 
@@ -66,7 +66,7 @@ fit_to_width_cb (GtkAction *action,
 	//       to scrollview for obtain the display area.
 	zoom = (double) (view_width - 15) / image_width;
 
-	eog_scroll_view_set_zoom (EOG_SCROLL_VIEW (view), zoom);	
+	eog_scroll_view_set_zoom (EOG_SCROLL_VIEW (view), zoom);
 }
 
 static const gchar * const ui_definition =
@@ -91,7 +91,7 @@ free_window_data (WindowData *data)
 	g_return_if_fail (data != NULL);
 
 	g_object_unref (data->ui_action_group);
-	
+
 	g_free (data);
 }
 
@@ -108,14 +108,14 @@ impl_activate (EogPlugin *plugin,
 	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");
-	
-	gtk_action_group_set_translation_domain (data->ui_action_group, 
+
+	gtk_action_group_set_translation_domain (data->ui_action_group,
 						 GETTEXT_PACKAGE);
 
 	gtk_action_group_add_actions (data->ui_action_group,
@@ -131,8 +131,8 @@ impl_activate (EogPlugin *plugin,
 								  ui_definition,
 								  -1, NULL);
 
-	g_object_set_data_full (G_OBJECT (window), 
-				WINDOW_DATA_KEY, 
+	g_object_set_data_full (G_OBJECT (window),
+				WINDOW_DATA_KEY,
 				data,
 				(GDestroyNotify) free_window_data);
 }
diff --git a/plugins/postr/eog-postr-plugin.c b/plugins/postr/eog-postr-plugin.c
index 2c212ed..cc02582 100644
--- a/plugins/postr/eog-postr-plugin.c
+++ b/plugins/postr/eog-postr-plugin.c
@@ -31,11 +31,11 @@ postr_cb (GtkAction	*action,
 	gchar *cmd = g_strdup ("postr ");
 
 	images = eog_thumb_view_get_selected_images (EOG_THUMB_VIEW (thumbview));
-	
+
 	for (i = g_list_first (images); i; i = i->next) {
 		EogImage *image = (EogImage *) i->data;
 
-		cmd = g_strconcat (cmd, eog_image_get_uri_for_display (image), " ", NULL); 
+		cmd = g_strconcat (cmd, eog_image_get_uri_for_display (image), " ", NULL);
 	}
 
 	g_spawn_command_line_async (cmd, NULL);
@@ -55,11 +55,11 @@ static void
 free_window_data (WindowData *data)
 {
 	g_return_if_fail (data != NULL);
-	
+
 	eog_debug (DEBUG_PLUGINS);
 
 	g_object_unref (data->ui_action_group);
-	
+
 	g_free (data);
 }
 
@@ -83,15 +83,15 @@ impl_activate (EogPlugin *plugin,
 {
 	GtkUIManager *manager;
 	WindowData *data;
-	
+
 	eog_debug (DEBUG_PLUGINS);
 
 	data = g_new (WindowData, 1);
 	manager = eog_window_get_ui_manager (window);
 
 	data->ui_action_group = gtk_action_group_new ("EogPostrPluginActions");
-	
-	gtk_action_group_set_translation_domain (data->ui_action_group, 
+
+	gtk_action_group_set_translation_domain (data->ui_action_group,
 						 GETTEXT_PACKAGE);
 	gtk_action_group_add_actions (data->ui_action_group,
 				      action_entries,
@@ -104,17 +104,17 @@ impl_activate (EogPlugin *plugin,
 
 	data->ui_id = gtk_ui_manager_new_merge_id (manager);
 
-	g_object_set_data_full (G_OBJECT (window), 
-				WINDOW_DATA_KEY, 
+	g_object_set_data_full (G_OBJECT (window),
+				WINDOW_DATA_KEY,
 				data,
 				(GDestroyNotify) free_window_data);
 
-	gtk_ui_manager_add_ui (manager, 
-			       data->ui_id, 
+	gtk_ui_manager_add_ui (manager,
+			       data->ui_id,
 			       MENU_PATH,
-			       "RunPostr", 
 			       "RunPostr",
-			       GTK_UI_MANAGER_MENUITEM, 
+			       "RunPostr",
+			       GTK_UI_MANAGER_MENUITEM,
 			       FALSE);
 }
 



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