gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r5258 - in gnunet-gtk: . src/common src/core src/include sr


From: gnunet
Subject: [GNUnet-SVN] r5258 - in gnunet-gtk: . src/common src/core src/include src/plugins/fs src/plugins/peers src/plugins/stats
Date: Fri, 6 Jul 2007 23:09:30 -0600 (MDT)

Author: grothoff
Date: 2007-07-06 23:09:22 -0600 (Fri, 06 Jul 2007)
New Revision: 5258

Modified:
   gnunet-gtk/ChangeLog
   gnunet-gtk/README
   gnunet-gtk/TODO
   gnunet-gtk/src/common/helper.c
   gnunet-gtk/src/common/logging.c
   gnunet-gtk/src/core/main.c
   gnunet-gtk/src/include/gnunetgtk_common.h
   gnunet-gtk/src/plugins/fs/directory.c
   gnunet-gtk/src/plugins/fs/download.c
   gnunet-gtk/src/plugins/fs/fs.c
   gnunet-gtk/src/plugins/fs/fs.h
   gnunet-gtk/src/plugins/fs/namespace.c
   gnunet-gtk/src/plugins/fs/namespace_search.c
   gnunet-gtk/src/plugins/fs/search.c
   gnunet-gtk/src/plugins/fs/upload.c
   gnunet-gtk/src/plugins/peers/peers.c
   gnunet-gtk/src/plugins/stats/functions.c
   gnunet-gtk/src/plugins/stats/statistics.c
Log:
remove whitespace

Modified: gnunet-gtk/ChangeLog
===================================================================
--- gnunet-gtk/ChangeLog        2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/ChangeLog        2007-07-07 05:09:22 UTC (rev 5258)
@@ -87,7 +87,7 @@
        Added french translation.
 
 Sun Apr 23 05:30:17 PDT 2006
-       Cleaner shutdown code for open search windows, avoiding some 
+       Cleaner shutdown code for open search windows, avoiding some
        (harmless) crashes in certain versions of GTK library on exit.
 
 Sat Apr 22 13:50:39 PDT 200

Modified: gnunet-gtk/README
===================================================================
--- gnunet-gtk/README   2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/README   2007-07-07 05:09:22 UTC (rev 5258)
@@ -1,5 +1,5 @@
 This is the GNUnet GTK user interface.  In order to compile or run
-this code, you need to first install the main GNUnet codebase.  
+this code, you need to first install the main GNUnet codebase.
 
 Then you may need to tell configure where the GNUnet installation
 is located.  The following command will install gnunet-gtk in the
@@ -9,8 +9,8 @@
 
 gnunet-gtk requires GTK 2.6 or higher and libglade 2.5.1 or higher.
 glade-2.10 is used to edit the UI.
- 
 
+
 Stay tuned
 ==========
 

Modified: gnunet-gtk/TODO
===================================================================
--- gnunet-gtk/TODO     2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/TODO     2007-07-07 05:09:22 UTC (rev 5258)
@@ -8,7 +8,7 @@
 - #1045: ability to pause a search => requires FSUI changes! [RC]
 - improve collection handling [RC]
   + show content of current collection somewhere
-  + does it make sense to have "no update" for collections? 
+  + does it make sense to have "no update" for collections?
   + for sporadically updated collection, have 'publish now' button
 - design and use of short/nice namespace names/search URIs
 - pop-up dialogs / context menus (show extra information, in particular full 
metadata) [RC]
@@ -17,12 +17,12 @@
   pattern that must be matched for the lines to be displayed
   (to further prune search results, for example)
 - gnunet-setup plugin
-- #747: sharing stats for gnunet-gtk 
+- #747: sharing stats for gnunet-gtk
 
 0.8.0 (goal: expand features):
 - chat [RC]
 - add option to list all indexed files and delete from them
-  (ECRS now supports listing of indexed files! 
+  (ECRS now supports listing of indexed files!
     => but this ECRS functionality may need to be tested!) [RC]
 - implement search bookmarking (e.g. user could add/edit/delete
   favourite namespace/key etc combinations)

Modified: gnunet-gtk/src/common/helper.c
===================================================================
--- gnunet-gtk/src/common/helper.c      2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/src/common/helper.c      2007-07-07 05:09:22 UTC (rev 5258)
@@ -283,7 +283,7 @@
   os_plugin_unload(plug->library);
   FREE(plug->name);
   FREE(plug);
-  
+
   return NULL;
 }
 

Modified: gnunet-gtk/src/common/logging.c
===================================================================
--- gnunet-gtk/src/common/logging.c     2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/src/common/logging.c     2007-07-07 05:09:22 UTC (rev 5258)
@@ -80,7 +80,7 @@
 
 /**
  * Do not track more than MAX messages
- */ 
+ */
 #define MAX_LINES 1000
 
 /**

Modified: gnunet-gtk/src/core/main.c
===================================================================
--- gnunet-gtk/src/core/main.c  2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/src/core/main.c  2007-07-07 05:09:22 UTC (rev 5258)
@@ -132,7 +132,7 @@
   if (YES == GC_get_configuration_value_yesno(cfg,
                                              "LOGGING",
                                              "DEVELOPER",
-                                             NO)) 
+                                             NO))
     mask |= GE_DEVELOPER | GE_REQUEST;
   my_ctx = createGtkLogger(mask);
   GE_setDefaultContext(my_ctx);

Modified: gnunet-gtk/src/include/gnunetgtk_common.h
===================================================================
--- gnunet-gtk/src/include/gnunetgtk_common.h   2007-07-07 05:08:41 UTC (rev 
5257)
+++ gnunet-gtk/src/include/gnunetgtk_common.h   2007-07-07 05:09:22 UTC (rev 
5258)
@@ -1,7 +1,7 @@
 /*
      This file is part of GNUnet
      (C) 2005, 2006, 2007 Christian Grothoff (and other contributing authors)
-     
+
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
      by the Free Software Foundation; either version 2, or (at your

Modified: gnunet-gtk/src/plugins/fs/directory.c
===================================================================
--- gnunet-gtk/src/plugins/fs/directory.c       2007-07-07 05:08:41 UTC (rev 
5257)
+++ gnunet-gtk/src/plugins/fs/directory.c       2007-07-07 05:09:22 UTC (rev 
5258)
@@ -158,14 +158,14 @@
   gtk_notebook_set_current_page(notebook,
                                gtk_notebook_page_num(notebook,
                                                      list->searchpage));
-  
+
   notebook
     = GTK_NOTEBOOK(glade_xml_get_widget(getMainXML(),
                                        "fsnotebook"));
   gtk_notebook_set_current_page(notebook,
                                gtk_notebook_page_num(notebook,
                                                      
glade_xml_get_widget(getMainXML(),
-                                                                          
"fsdownloadvbox")));  
+                                                                          
"fsdownloadvbox")));
 }
 
 /* end of directory.c */

Modified: gnunet-gtk/src/plugins/fs/download.c
===================================================================
--- gnunet-gtk/src/plugins/fs/download.c        2007-07-07 05:08:41 UTC (rev 
5257)
+++ gnunet-gtk/src/plugins/fs/download.c        2007-07-07 05:09:22 UTC (rev 
5258)
@@ -619,7 +619,7 @@
   }
   /* reduce "//" to "/" */
   if (idc_name != NULL) {
-    while (strstr(idc_name, "//") != NULL) 
+    while (strstr(idc_name, "//") != NULL)
       memcpy(strstr(idc_name, "//"),
             strstr(idc_name, "//") + 1,
             strlen(strstr(idc_name, "//")));
@@ -630,7 +630,7 @@
 #ifdef WINDOWS
     char * filehash;
 
-    GE_ASSERT(NULL, 
+    GE_ASSERT(NULL,
              strlen(sdc.uri_name) > strlen(ECRS_URI_PREFIX) + 
strlen(ECRS_FILE_INFIX));
     FREENONNULL(idc_name);
     filehash = STRDUP(&sdc.uri_name[strlen(ECRS_URI_PREFIX) + 
strlen(ECRS_FILE_INFIX)]);
@@ -638,7 +638,7 @@
     idc_name = STRDUP(filehash);
     FREENONNULL(filehash);
 #else
-    GE_ASSERT(NULL, 
+    GE_ASSERT(NULL,
              strlen(sdc.uri_name) > strlen(ECRS_URI_PREFIX) + 
strlen(ECRS_FILE_INFIX));
     FREENONNULL(idc_name);
     idc_name = STRDUP(&sdc.uri_name[strlen(ECRS_URI_PREFIX) + 
strlen(ECRS_FILE_INFIX)]);

Modified: gnunet-gtk/src/plugins/fs/fs.c
===================================================================
--- gnunet-gtk/src/plugins/fs/fs.c      2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/src/plugins/fs/fs.c      2007-07-07 05:09:22 UTC (rev 5258)
@@ -105,16 +105,16 @@
         (TRUE == gdk_colormap_alloc_color(gdk_colormap_get_system(),
                                           &color,
                                           FALSE,
-                                          TRUE)) )      
+                                          TRUE)) )
       gtk_widget_modify_base(w,
                           GTK_STATE_NORMAL,
-                          &color);  
+                          &color);
   } else
     gtk_widget_modify_base(w,
                         GTK_STATE_NORMAL,
                         NULL);
-  
 
+
 }
 
 static void *
@@ -337,7 +337,7 @@
                           gtk_tree_selection_count_selected_rows(selection) > 
0);
 }
 
-static int 
+static int
 on_upload_copy_uri_activate(void * cls,
                            GtkWidget * searchEntry) {
   GtkTreeView * uploadList = cls;
@@ -377,10 +377,10 @@
                         strlen(str));
   FREE(str);
   return FALSE;
-} 
+}
 
 static gint
-upload_click_handler(void * cls, 
+upload_click_handler(void * cls,
                     GdkEvent *event) {
   GtkTreeView * uploadList = cls;
   GtkMenu * menu;
@@ -388,17 +388,17 @@
   GdkEventButton * event_button;
 
   g_return_val_if_fail (event != NULL, FALSE);
-  if (event->type != GDK_BUTTON_PRESS) 
+  if (event->type != GDK_BUTTON_PRESS)
     return FALSE;
   event_button = (GdkEventButton *) event;
-  if (event_button->button != 3) 
-    return FALSE;  
+  if (event_button->button != 3)
+    return FALSE;
   last_x = event_button->x;
   last_y = event_button->y;
   entry = gtk_menu_item_new_with_label(_("_Copy URI to Clipboard"));
   g_signal_connect_swapped (entry,
                            "activate",
-                           G_CALLBACK(on_upload_copy_uri_activate), 
+                           G_CALLBACK(on_upload_copy_uri_activate),
                            uploadList);
   gtk_label_set_use_underline(GTK_LABEL(gtk_bin_get_child(GTK_BIN(entry))),
                              TRUE);
@@ -410,7 +410,7 @@
                  NULL,
                  NULL,
                  NULL,
-                 NULL, 
+                 NULL,
                  event_button->button,
                  event_button->time);
   return TRUE;
@@ -587,7 +587,7 @@
                                                  "activeUploadsList"));
   g_signal_connect_swapped (uploadList,
                            "button-press-event",
-                           G_CALLBACK(upload_click_handler), 
+                           G_CALLBACK(upload_click_handler),
                            uploadList);
   upload_summary =
     gtk_tree_store_new(UPLOAD_NUM,
@@ -732,16 +732,16 @@
   if (state & (URITRACK_INSERTED || URITRACK_INDEXED))
     return "cyan";
   if ( (state & URITRACK_DOWNLOAD_STARTED) &&
-       (0 == (state & 
+       (0 == (state &
              (URITRACK_DOWNLOAD_COMPLETED |
               URITRACK_DOWNLOAD_ABORTED)) ) )
     return "yellow";
-  if (state & URITRACK_DOWNLOAD_COMPLETED) 
+  if (state & URITRACK_DOWNLOAD_COMPLETED)
     return "springgreen";
-  if (state & URITRACK_DOWNLOAD_ABORTED) 
+  if (state & URITRACK_DOWNLOAD_ABORTED)
     return "red";
   if (state & (URITRACK_SEARCH_RESULT |
-              URITRACK_DIRECTORY_FOUND) ) 
+              URITRACK_DIRECTORY_FOUND) )
     return "gray";
   return "white";
 }

Modified: gnunet-gtk/src/plugins/fs/fs.h
===================================================================
--- gnunet-gtk/src/plugins/fs/fs.h      2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/src/plugins/fs/fs.h      2007-07-07 05:09:22 UTC (rev 5258)
@@ -211,7 +211,7 @@
 
   /**
    * Y-coordinate of the last right-click in the search list.
-   */ 
+   */
   unsigned int last_y;
 
 } SearchList;

Modified: gnunet-gtk/src/plugins/fs/namespace.c
===================================================================
--- gnunet-gtk/src/plugins/fs/namespace.c       2007-07-07 05:08:41 UTC (rev 
5257)
+++ gnunet-gtk/src/plugins/fs/namespace.c       2007-07-07 05:09:22 UTC (rev 
5258)
@@ -98,7 +98,7 @@
           (0 != strcmp(freq, _("never"))) )
        ok = 1;
       FREENONNULL(freq);
-    }     
+    }
     gtk_widget_set_sensitive(list->updateButton,
                             ok);
     list = list->next;
@@ -466,7 +466,7 @@
 }
 
 
-static void frame_destroy(GtkWidget * tree) {  
+static void frame_destroy(GtkWidget * tree) {
   GtkTreeIter iter;
   struct ECRS_URI * u;
   struct ECRS_MetaData * m;
@@ -479,14 +479,14 @@
   prev = NULL;
   while (pos != NULL) {
     next = pos->next;
-    if (pos->treeview == tree) 
+    if (pos->treeview == tree)
       break;
     prev = pos;
     pos = next;
   }
   if (pos == NULL) {
     GE_BREAK(NULL, 0);
-    return; 
+    return;
   }
   if (prev == NULL)
     head = pos->next;
@@ -784,7 +784,7 @@
 /**
  * User clicked on update; launch update dialog
  * and perform namespace content update.
- */ 
+ */
 void on_namespaceUpdateButton_clicked_fs(GtkWidget * dummy1,
                                         GtkWidget * dummy2) {
   NamespaceList * list;
@@ -816,7 +816,7 @@
   num = gtk_notebook_get_current_page(GTK_NOTEBOOK(notebook));
   GE_ASSERT(ectx, num != -1);
   page = gtk_notebook_get_nth_page(GTK_NOTEBOOK(notebook),
-                                  num); 
+                                  num);
   list = head;
   while ( (list != NULL) &&
          (list->namespacepage != page) )
@@ -826,7 +826,7 @@
     return;
   }
   cls.namespaceName = list->name;
-  
+
   /* find out what we are updating */
   selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(list->treeview));
   if (TRUE != gtk_tree_selection_get_selected(selection,
@@ -870,7 +870,7 @@
   enc2hash(last, &lastId);
   cls.lastId = &lastId;
   enc2hash(next, &cls.thisId);
-  
+
   nextEntryLine = glade_xml_get_widget(metaXML,
                                       "nextIdentifierEntry");
   if ( (cls.updateInterval != ECRS_SBLOCK_UPDATE_SPORADIC) &&
@@ -904,7 +904,7 @@
                           0);
 
   /* run update dialog */
-  if (gtk_dialog_run(GTK_DIALOG(dialog)) != GTK_RESPONSE_OK) 
+  if (gtk_dialog_run(GTK_DIALOG(dialog)) != GTK_RESPONSE_OK)
     goto CLEANUP;
   gtk_widget_hide(dialog);
 

Modified: gnunet-gtk/src/plugins/fs/namespace_search.c
===================================================================
--- gnunet-gtk/src/plugins/fs/namespace_search.c        2007-07-07 05:08:41 UTC 
(rev 5257)
+++ gnunet-gtk/src/plugins/fs/namespace_search.c        2007-07-07 05:09:22 UTC 
(rev 5258)
@@ -198,7 +198,7 @@
 
 static void * saveDiscovery(void * cls) {
   struct NewNamespaceInfo * nni = cls;
-  
+
   GtkListStore * model;
   GtkTreeIter iter;
   EncName enc;

Modified: gnunet-gtk/src/plugins/fs/search.c
===================================================================
--- gnunet-gtk/src/plugins/fs/search.c  2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/src/plugins/fs/search.c  2007-07-07 05:09:22 UTC (rev 5258)
@@ -158,13 +158,13 @@
   state = URITRACK_getState(ectx,
                            cfg,
                            info->uri);
-  if ( (state & (URITRACK_INSERTED | 
+  if ( (state & (URITRACK_INSERTED |
                 URITRACK_INDEXED) ) &&
        (YES == GC_get_configuration_value_yesno(cfg,
                                                "GNUNET-GTK",
                                                "DISABLE-OWN",
                                                YES)) )
-    return; 
+    return;
   model = GTK_TREE_STORE(gtk_tree_view_get_model(searchContext->treeview));
   gtk_tree_store_append(model,
                        &iter,
@@ -177,7 +177,7 @@
   updateSearchSummary(searchContext);
 }
 
-static int 
+static int
 on_search_copy_uri_activate(void * cls,
                            GtkWidget * searchEntry) {
   SearchList * list = cls;
@@ -218,7 +218,7 @@
                         strlen(str));
   FREE(str);
   return FALSE;
-} 
+}
 
 
 #ifndef MINGW
@@ -272,7 +272,7 @@
     addLogEntry(_("No search results yet, cannot save!"));
     return FALSE;
   }
-  
+
   name = selectFile("");
   if (name == NULL)
     return FALSE;
@@ -335,10 +335,10 @@
   FREE(directory);
   FREE(name);
   return FALSE;
-} 
+}
 
 static gint
-search_click_handler(void * cls, 
+search_click_handler(void * cls,
                     GdkEvent *event) {
   SearchList * list = cls;
   GtkMenu * menu;
@@ -347,18 +347,18 @@
 
   g_return_val_if_fail (event != NULL, FALSE);
 
-  if (event->type != GDK_BUTTON_PRESS) 
+  if (event->type != GDK_BUTTON_PRESS)
     return FALSE;
   event_button = (GdkEventButton *) event;
-  if (event_button->button != 3) 
-    return FALSE;  
+  if (event_button->button != 3)
+    return FALSE;
   list->last_x = event_button->x;
   list->last_y = event_button->y;
   menu = GTK_MENU(gtk_menu_new());
   entry = gtk_menu_item_new_with_label(_("_Copy URI to Clipboard"));
   g_signal_connect_swapped (entry,
                            "activate",
-                           G_CALLBACK(on_search_copy_uri_activate), 
+                           G_CALLBACK(on_search_copy_uri_activate),
                            list);
   gtk_label_set_use_underline(GTK_LABEL(gtk_bin_get_child(GTK_BIN(entry))),
                              TRUE);
@@ -368,7 +368,7 @@
   entry = gtk_menu_item_new_with_label(_("_Save results as directory"));
   g_signal_connect_swapped (entry,
                            "activate",
-                           G_CALLBACK(on_save_search_activate), 
+                           G_CALLBACK(on_save_search_activate),
                            list);
   gtk_label_set_use_underline(GTK_LABEL(gtk_bin_get_child(GTK_BIN(entry))),
                              TRUE);
@@ -379,7 +379,7 @@
                  NULL,
                  NULL,
                  NULL,
-                 NULL, 
+                 NULL,
                  event_button->button,
                  event_button->time);
   return TRUE;
@@ -449,9 +449,9 @@
   /* setup tree view and renderers */
   list->treeview = GTK_TREE_VIEW(glade_xml_get_widget(list->searchXML,
                                                      "searchResults"));
-  g_signal_connect_swapped (list->treeview, 
+  g_signal_connect_swapped (list->treeview,
                            "button-press-event",
-                           G_CALLBACK(search_click_handler), 
+                           G_CALLBACK(search_click_handler),
                            list);
   list->tree =
     gtk_tree_store_new(SEARCH_NUM,

Modified: gnunet-gtk/src/plugins/fs/upload.c
===================================================================
--- gnunet-gtk/src/plugins/fs/upload.c  2007-07-07 05:08:41 UTC (rev 5257)
+++ gnunet-gtk/src/plugins/fs/upload.c  2007-07-07 05:09:22 UTC (rev 5258)
@@ -365,10 +365,10 @@
                                    "EXTRACTORS",
                                    "",
                                    &config);
-  if (strlen(config) > 0) 
+  if (strlen(config) > 0)
     extractors = EXTRACTOR_loadConfigLibraries(extractors,
                                               config);
-  FREE(config); 
+  FREE(config);
   filename = getEntryLineValue(getMainXML(),
                               "uploadFilenameComboBoxEntry");
   metaXML

Modified: gnunet-gtk/src/plugins/peers/peers.c
===================================================================
--- gnunet-gtk/src/plugins/peers/peers.c        2007-07-07 05:08:41 UTC (rev 
5257)
+++ gnunet-gtk/src/plugins/peers/peers.c        2007-07-07 05:09:22 UTC (rev 
5258)
@@ -20,7 +20,7 @@
 
 /**
  * @file src/plugins/peers/peers.c
- * @brief code providing peer information 
+ * @brief code providing peer information
  * @author Christian Grothoff
  */
 
@@ -124,8 +124,8 @@
            (0 == strcasecmp(cc, "net")) ||
            (0 == strcasecmp(cc, "org")) ||
            (0 == strcasecmp(cc, "gov")) ||
-           (0 == strcasecmp(cc, "mil")) )            
-    cc = "us";    
+           (0 == strcasecmp(cc, "mil")) )      
+    cc = "us";
   if ( (cc != NULL) &&
        (strlen(cc) > 2) )
     cc = NULL;
@@ -136,10 +136,10 @@
     dir = os_get_installation_path(IPK_DATADIR);
     fn = MALLOC(strlen(dir) + 32);
     strcpy(fn, dir);
-    strcat(fn, 
+    strcat(fn,
           DIR_SEPARATOR_STR ".."
-          DIR_SEPARATOR_STR "gnunet-gtk" 
-          DIR_SEPARATOR_STR "flags" 
+          DIR_SEPARATOR_STR "gnunet-gtk"
+          DIR_SEPARATOR_STR "flags"
           DIR_SEPARATOR_STR);
     strcat(fn, cc);
     strcat(fn, ".png");
@@ -147,8 +147,8 @@
     flagBuf = gdk_pixbuf_new_from_file(fn, NULL);
     FREE(fn);
   }
-  FREE(prefix);  
-  
+  FREE(prefix);
+
   /* get LED */
   now = get_time();
   if (last_message + 150 * cronSECONDS > now)
@@ -192,7 +192,7 @@
   GtkListStore * model;
 
   model = gtk_list_store_new(8,
-                            G_TYPE_STRING,  /* address */ 
+                            G_TYPE_STRING,  /* address */
                             G_TYPE_UINT,    /* trust */
                             G_TYPE_UINT,    /* bpm */
                             G_TYPE_STRING,  /* identity */
@@ -227,10 +227,10 @@
   if (old_model != NULL) {
     if (TRUE == 
gtk_tree_sortable_get_sort_column_id(GTK_TREE_SORTABLE(old_model),
                                                     &sort_column,
-                                                    &order)) 
+                                                    &order))
       gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(model),
                                           sort_column,
-                                          order); 
+                                          order);
   }
   gtk_tree_view_set_model(GTK_TREE_VIEW(w),
                          GTK_TREE_MODEL(model));
@@ -243,7 +243,7 @@
   GtkListStore * model;
 
   model = getPeerModel();
-  gtkSaveCall(&updatePeerInfoSafe, model); 
+  gtkSaveCall(&updatePeerInfoSafe, model);
 }
 
 
@@ -318,7 +318,7 @@
   gtk_tree_view_column_set_clickable(column, TRUE);
   gtk_tree_view_column_set_reorderable(column, TRUE);
   gtk_tree_view_column_set_sort_column_id(column, 6);
-  
+
   renderer = gtk_cell_renderer_pixbuf_new();
   col = gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(peers),
                                                    -1,
@@ -351,30 +351,30 @@
   dir = os_get_installation_path(IPK_DATADIR);
   fn = MALLOC(strlen(dir) + 32);
   strcpy(fn, dir);
-  strcat(fn, 
+  strcat(fn,
         DIR_SEPARATOR_STR ".."
-        DIR_SEPARATOR_STR "gnunet-gtk" 
+        DIR_SEPARATOR_STR "gnunet-gtk"
         DIR_SEPARATOR_STR "red.png");
   red = gdk_pixbuf_new_from_file(fn, NULL);
 
   strcpy(fn, dir);
-  strcat(fn, 
+  strcat(fn,
         DIR_SEPARATOR_STR ".."
-        DIR_SEPARATOR_STR "gnunet-gtk" 
+        DIR_SEPARATOR_STR "gnunet-gtk"
         DIR_SEPARATOR_STR "yellow.png");
   yellow = gdk_pixbuf_new_from_file(fn, NULL);
 
   strcpy(fn, dir);
-  strcat(fn, 
+  strcat(fn,
         DIR_SEPARATOR_STR ".."
-        DIR_SEPARATOR_STR "gnunet-gtk" 
+        DIR_SEPARATOR_STR "gnunet-gtk"
         DIR_SEPARATOR_STR "green.png");
   green = gdk_pixbuf_new_from_file(fn, NULL);
 
   strcpy(fn, dir);
-  strcat(fn, 
+  strcat(fn,
         DIR_SEPARATOR_STR ".."
-        DIR_SEPARATOR_STR "gnunet-gtk" 
+        DIR_SEPARATOR_STR "gnunet-gtk"
         DIR_SEPARATOR_STR "black.png");
   black = gdk_pixbuf_new_from_file(fn, NULL);
   FREE(fn);

Modified: gnunet-gtk/src/plugins/stats/functions.c
===================================================================
--- gnunet-gtk/src/plugins/stats/functions.c    2007-07-07 05:08:41 UTC (rev 
5257)
+++ gnunet-gtk/src/plugins/stats/functions.c    2007-07-07 05:09:22 UTC (rev 
5258)
@@ -477,7 +477,7 @@
    * this will predict correctly).
    */
   static unsigned int last;
-  cron_t * delta = data; 
+  cron_t * delta = data;
   int j;
   int found;
 

Modified: gnunet-gtk/src/plugins/stats/statistics.c
===================================================================
--- gnunet-gtk/src/plugins/stats/statistics.c   2007-07-07 05:08:41 UTC (rev 
5257)
+++ gnunet-gtk/src/plugins/stats/statistics.c   2007-07-07 05:09:22 UTC (rev 
5258)
@@ -327,7 +327,7 @@
   return FALSE;
 }
 
-static void load_graph_stop (LoadGraph *g) {  
+static void load_graph_stop (LoadGraph *g) {
   if (!g)
     return;
   if (g->timer_index != -1) {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]