gnome-main-menu r433 - trunk/libslab



Author: federico
Date: Sat Apr  5 00:45:14 2008
New Revision: 433
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=433&view=rev

Log:
Checkpoint load_image() directly instead of just one caller

Signed-off-by: Federico Mena Quintero <federico gnu org>


Modified:
   trunk/libslab/document-tile.c

Modified: trunk/libslab/document-tile.c
==============================================================================
--- trunk/libslab/document-tile.c	(original)
+++ trunk/libslab/document-tile.c	Sat Apr  5 00:45:14 2008
@@ -295,9 +295,7 @@
 
 	gtk_widget_show_all (GTK_WIDGET (TILE (this)->context_menu));
 
-	libslab_checkpoint ("document_tile_new(): start loading image");
 	load_image (this);
-	libslab_checkpoint ("document_tile_new(): end loading image");
 
 	accessible = gtk_widget_get_accessible (GTK_WIDGET (this));
 	if (basename)
@@ -424,6 +422,8 @@
 	gchar *icon_id = NULL;
 	gboolean free_icon_id = TRUE;
 
+	libslab_checkpoint ("document-tile.c: load_image(): start for %s", TILE (tile)->uri);
+
 	if (! priv->mime_type || ! strstr (TILE (tile)->uri, "file://")) {
 		icon_id = "gnome-fs-regular";
 		free_icon_id = FALSE;
@@ -473,6 +473,8 @@
 
 	if (free_icon_id && icon_id)
 		g_free (icon_id);
+
+	libslab_checkpoint ("document-tile.c: load_image(): end");
 }
 
 /* Next function taken from e-data-server-util.c in evolution-data-server */



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