[glom] Whitespace cleanup



commit 37fae05e2a93f790fc7b24a6871b7bba262847c6
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 11 12:35:15 2013 +0100

    Whitespace cleanup

 glom/utility_widgets/imageglom.cc |   54 ++++++++++++++++++------------------
 1 files changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/glom/utility_widgets/imageglom.cc b/glom/utility_widgets/imageglom.cc
index 3fc2a2e..8740ae4 100644
--- a/glom/utility_widgets/imageglom.cc
+++ b/glom/utility_widgets/imageglom.cc
@@ -219,19 +219,19 @@ static void image_glom_ev_job_finished(EvJob* job, void* user_data)
   
 void ImageGlom::on_ev_job_finished(EvJob* job)
 {
-       if (ev_job_is_failed (job)) {
-               g_warning ("%s", job->error->message);
-               g_object_unref (job);
+  if (ev_job_is_failed (job)) {
+    g_warning ("%s", job->error->message);
+    g_object_unref (job);
 
-               return;
-       }
+    return;
+  }
 
-       ev_document_model_set_document(m_ev_document_model, job->document);
-       ev_document_model_set_page(m_ev_document_model, 1);
-       g_object_unref (job);
-       
-        //TODO: Show that we are no longer loading.
-       //ev_view_set_loading(m_ev_view, FALSE);
+  ev_document_model_set_document(m_ev_document_model, job->document);
+  ev_document_model_set_page(m_ev_document_model, 1);
+  g_object_unref (job);
+  
+  //TODO: Show that we are no longer loading.
+  //ev_view_set_loading(m_ev_view, FALSE);
 }
 
 const GdaBinary* ImageGlom::get_binary() const
@@ -285,19 +285,19 @@ void ImageGlom::fill_evince_supported_mime_types()
   
   for(GList* l = types_list; l; l = g_list_next(l))
   {
-         EvTypeInfo *info = (EvTypeInfo *)l->data;
-         if(!info)
-           continue;
+    EvTypeInfo *info = (EvTypeInfo *)l->data;
+    if(!info)
+      continue;
 
-         const char* mime_type = 0;
-         int i = 0;
-         while((mime_type = info->mime_types[i++]))
-         {
-           if(mime_type)
-             m_evince_supported_mime_types.push_back(mime_type);
-           //std::cout << "evince supported mime_type=" << mime_type << std::endl; 
-         }
-       }  
+    const char* mime_type = 0;
+    int i = 0;
+    while((mime_type = info->mime_types[i++]))
+    {
+      if(mime_type)
+        m_evince_supported_mime_types.push_back(mime_type);
+      //std::cout << "evince supported mime_type=" << mime_type << std::endl; 
+    }
+  }  
 }
 
 void ImageGlom::fill_gdkpixbuf_supported_mime_types()
@@ -387,7 +387,7 @@ void ImageGlom::show_image_data()
 
     //TODO: Show that we are loading.
     //ev_view_set_loading(m_ev_view, TRUE);
-       
+
     g_signal_connect (job, "finished",
       G_CALLBACK (image_glom_ev_job_finished), this);
     ev_job_scheduler_push_job (job, EV_JOB_PRIORITY_NONE);


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