aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/isomaster/files/patch-fsbrowser.c
blob: 32fdefc9f52984733b3b22b31873154f974edb1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- fsbrowser.c.orig    Thu Dec 28 05:44:19 2006
+++ fsbrowser.c Wed Jan 17 14:27:07 2007
@@ -419,6 +419,7 @@
 void refreshFsView(void)
 {
     char* fsCurrentDir; /* for changeFsDirectory() */
+    GdkRectangle visibleRect;
     
     fsCurrentDir = malloc(strlen(GBLfsCurrentDir) + 1);
     if(fsCurrentDir == NULL)
@@ -426,7 +427,6 @@
     strcpy(fsCurrentDir, GBLfsCurrentDir);
     
     /* remember scroll position */
-    GdkRectangle visibleRect;
     gtk_tree_view_get_visible_rect(GTK_TREE_VIEW(GBLfsTreeView), &visibleRect);
     
     changeFsDirectory(fsCurrentDir);