Revision: 1266
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1266&view=rev
Author:   zas_
Date:     2008-11-22 22:10:10 +0000 (Sat, 22 Nov 2008)

Log Message:
-----------
Tidy up.

Modified Paths:
--------------
    trunk/src/layout_image.c

Modified: trunk/src/layout_image.c
===================================================================
--- trunk/src/layout_image.c    2008-11-22 22:04:21 UTC (rev 1265)
+++ trunk/src/layout_image.c    2008-11-22 22:10:10 UTC (rev 1266)
@@ -1697,14 +1697,12 @@
        gtk_paned_pack1(GTK_PANED(hpaned), vpaned1, TRUE, TRUE);
        gtk_paned_pack2(GTK_PANED(hpaned), vpaned2, TRUE, TRUE);
 
-
        for (i = 0; i < 4; i++)
                gtk_widget_show(lw->split_images[i]->widget);
 
        gtk_widget_show(vpaned1);
        gtk_widget_show(vpaned2);
 
-
        lw->split_image_widget = hpaned;
 
        return lw->split_image_widget;
@@ -1736,10 +1734,7 @@
 
 static void layout_image_maint_renamed(LayoutWindow *lw, FileData *fd)
 {
-       FileData *img_fd;
-
-       img_fd = layout_image_get_fd(lw);
-       if (img_fd == fd)
+       if (fd == layout_image_get_fd(lw))
                {
                image_set_fd(lw->image, fd);
                layout_bars_maint_renamed(lw);
@@ -1748,10 +1743,7 @@
 
 static void layout_image_maint_removed(LayoutWindow *lw, FileData *fd)
 {
-       FileData *img_fd;
-
-       img_fd = layout_image_get_fd(lw);
-       if (img_fd == fd)
+       if (fd == layout_image_get_fd(lw))
                {
                CollectionData *cd;
                CollectInfo *info;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to