Mercurial > geeqie
comparison src/preferences.c @ 231:b3120867710d
Remove unused variables declarations.
author | zas_ |
---|---|
date | Thu, 03 Apr 2008 20:19:16 +0000 |
parents | 4b2fbfafa511 |
children | 9faf34f047b1 |
comparison
equal
deleted
inserted
replaced
230:4b2fbfafa511 | 231:b3120867710d |
---|---|
423 | 423 |
424 static void exif_item(GtkWidget *table, gint column, gint row, | 424 static void exif_item(GtkWidget *table, gint column, gint row, |
425 const gchar *text, gint option, gint *option_c) | 425 const gchar *text, gint option, gint *option_c) |
426 { | 426 { |
427 GtkWidget *combo; | 427 GtkWidget *combo; |
428 gint current = 0; | |
429 | 428 |
430 *option_c = option; | 429 *option_c = option; |
431 | 430 |
432 pref_table_label(table, column, row, text, 0.0); | 431 pref_table_label(table, column, row, text, 0.0); |
433 | 432 |
1003 { | 1002 { |
1004 GtkWidget *label; | 1003 GtkWidget *label; |
1005 GtkWidget *hbox; | 1004 GtkWidget *hbox; |
1006 GtkWidget *vbox; | 1005 GtkWidget *vbox; |
1007 GtkWidget *group; | 1006 GtkWidget *group; |
1008 GtkWidget *button; | |
1009 GtkWidget *ct_button; | 1007 GtkWidget *ct_button; |
1010 GtkWidget *spin; | 1008 GtkWidget *spin; |
1011 | 1009 |
1012 vbox = gtk_vbox_new(FALSE, 0); | 1010 vbox = gtk_vbox_new(FALSE, 0); |
1013 gtk_container_set_border_width(GTK_CONTAINER(vbox), PREF_PAD_BORDER); | 1011 gtk_container_set_border_width(GTK_CONTAINER(vbox), PREF_PAD_BORDER); |
1049 GtkWidget *hbox; | 1047 GtkWidget *hbox; |
1050 GtkWidget *frame; | 1048 GtkWidget *frame; |
1051 GtkWidget *label; | 1049 GtkWidget *label; |
1052 GtkWidget *vbox; | 1050 GtkWidget *vbox; |
1053 GtkWidget *group; | 1051 GtkWidget *group; |
1054 GtkWidget *subgroup; | |
1055 GtkWidget *button; | 1052 GtkWidget *button; |
1056 GtkWidget *tabcomp; | |
1057 GtkWidget *ct_button; | 1053 GtkWidget *ct_button; |
1058 GtkWidget *table; | |
1059 GtkWidget *spin; | |
1060 GtkWidget *scrolled; | 1054 GtkWidget *scrolled; |
1061 GtkWidget *viewport; | |
1062 GtkWidget *filter_view; | 1055 GtkWidget *filter_view; |
1063 GtkCellRenderer *renderer; | 1056 GtkCellRenderer *renderer; |
1064 GtkTreeSelection *selection; | 1057 GtkTreeSelection *selection; |
1065 GtkTreeViewColumn *column; | 1058 GtkTreeViewColumn *column; |
1066 | 1059 |
1277 GTK_ORIENTATION_VERTICAL); | 1270 GTK_ORIENTATION_VERTICAL); |
1278 table = pref_table_new(group, 2, 2, FALSE, FALSE); | 1271 table = pref_table_new(group, 2, 2, FALSE, FALSE); |
1279 | 1272 |
1280 for (i = 0; ExifUIList[i].key; i++) | 1273 for (i = 0; ExifUIList[i].key; i++) |
1281 { | 1274 { |
1282 static gint cc; | |
1283 const gchar *title; | 1275 const gchar *title; |
1284 | 1276 |
1285 title = exif_get_description_by_key(ExifUIList[i].key); | 1277 title = exif_get_description_by_key(ExifUIList[i].key); |
1286 exif_item(table, 0, i, title, ExifUIList[i].current, | 1278 exif_item(table, 0, i, title, ExifUIList[i].current, |
1287 &ExifUIList[i].temp); | 1279 &ExifUIList[i].temp); |