Trim trailing white spaces.
[geeqie.git] / src / view_file.c
index 3fb9261..ebbdba1 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Geeqie
- * Copyright (C) 2008 - 2010 The Geeqie Team
+ * Copyright (C) 2008 - 2012 The Geeqie Team
  *
  * Author: Laurent Monin
  *
@@ -811,7 +811,7 @@ static gdouble vf_thumb_progress(ViewFile *vf)
 }
 
 static void vf_set_thumb_fd(ViewFile *vf, FileData *fd)
-{      
+{
        switch (vf->type)
        {
        case FILEVIEW_LIST: vflist_set_thumb_fd(vf, fd); break;
@@ -878,7 +878,7 @@ static gboolean vf_thumb_next(ViewFile *vf)
 {
        FileData *fd = NULL;
 
-       if (!GTK_WIDGET_REALIZED(vf->listview))
+       if (!gtk_widget_get_realized(vf->listview))
                {
                vf_thumb_status(vf, 0.0, NULL);
                return FALSE;