[eog] Remove unused variables and unnecessary assignments
- From: Felix Riemann <friemann src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [eog] Remove unused variables and unnecessary assignments
- Date: Tue, 22 Sep 2009 21:02:04 +0000 (UTC)
commit cf06700f8d2d45c3d582e2dc071c8fce72db468c
Author: Felix Riemann <friemann gnome org>
Date: Tue Sep 22 22:57:39 2009 +0200
Remove unused variables and unnecessary assignments
plugins/reload/eog-reload-plugin.c | 3 ---
src/eog-properties-dialog.c | 1 -
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/plugins/reload/eog-reload-plugin.c b/plugins/reload/eog-reload-plugin.c
index af06b93..beedae1 100644
--- a/plugins/reload/eog-reload-plugin.c
+++ b/plugins/reload/eog-reload-plugin.c
@@ -79,7 +79,6 @@ impl_activate (EogPlugin *plugin,
EogWindow *window)
{
GtkUIManager *manager;
- GList *action_groups;
WindowData *data;
eog_debug (DEBUG_PLUGINS);
@@ -88,8 +87,6 @@ impl_activate (EogPlugin *plugin,
manager = eog_window_get_ui_manager (window);
- action_groups = gtk_ui_manager_get_action_groups (manager);
-
data->ui_action_group = gtk_action_group_new ("EogReloadPluginActions");
gtk_action_group_set_translation_domain (data->ui_action_group,
diff --git a/src/eog-properties-dialog.c b/src/eog-properties-dialog.c
index 60c92e3..afa05f5 100644
--- a/src/eog-properties-dialog.c
+++ b/src/eog-properties-dialog.c
@@ -151,7 +151,6 @@ pd_update_general_tab (EogPropertiesDialog *prop_dlg,
G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
0, NULL, NULL);
if (file_info == NULL) {
- mime_str = _("Unknown");
type_str = g_strdup (_("Unknown"));
} else {
mime_str = g_file_info_get_content_type (file_info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]