[gthumb] Removed some unused struct fields, reported by cppcheck
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Removed some unused struct fields, reported by cppcheck
- Date: Wed, 20 May 2009 08:20:02 -0400 (EDT)
commit 1bfeca0c42a3895517dff15af33d5e204f6242c1
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Wed May 20 08:19:41 2009 -0400
Removed some unused struct fields, reported by cppcheck
---
libgthumb/gth-image-list.c | 1 -
src/gth-browser.c | 3 ---
src/gth-viewer.c | 1 -
3 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/libgthumb/gth-image-list.c b/libgthumb/gth-image-list.c
index 9a4c104..4d7fcb3 100644
--- a/libgthumb/gth-image-list.c
+++ b/libgthumb/gth-image-list.c
@@ -314,7 +314,6 @@ typedef struct {
struct _GthImageListPrivate {
GList *all_images;
- int n_all_images;
GList *image_list;
int n_images;
GList *selection;
diff --git a/src/gth-browser.c b/src/gth-browser.c
index f272f24..d27204d 100644
--- a/src/gth-browser.c
+++ b/src/gth-browser.c
@@ -133,8 +133,6 @@ struct _GthBrowserPrivateData {
GtkWidget *info_frame;
GtkWidget *info_bar;
- GtkWidget *info_combo;
- GtkWidget *info_icon;
char sidebar_content; /* SidebarContent values. */
int sidebar_width;
@@ -192,7 +190,6 @@ struct _GthBrowserPrivateData {
int image_position;
- gfloat dir_load_progress;
int activity_ref; /* when > 0 some activity
* is present. */
diff --git a/src/gth-viewer.c b/src/gth-viewer.c
index 4721ffe..65a29db 100644
--- a/src/gth-viewer.c
+++ b/src/gth-viewer.c
@@ -101,7 +101,6 @@ struct _GthViewerPrivateData {
GtkToolItem *open_with_tool_item;
GtkWidget *open_with_popup_menu;
- GtkToolItem *rotate_tool_item;
GtkTooltips *tooltips;
guint help_message_cid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]