gnome-main-menu r435 - trunk/main-menu/src
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-main-menu r435 - trunk/main-menu/src
- Date: Sat, 5 Apr 2008 00:45:42 +0100 (BST)
Author: federico
Date: Sat Apr 5 00:45:42 2008
New Revision: 435
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=435&view=rev
Log:
Remove checkpoint noise from tile_table_reload()
Signed-off-by: Federico Mena Quintero <federico gnu org>
Modified:
trunk/main-menu/src/tile-table.c
Modified: trunk/main-menu/src/tile-table.c
==============================================================================
--- trunk/main-menu/src/tile-table.c (original)
+++ trunk/main-menu/src/tile-table.c Sat Apr 5 00:45:42 2008
@@ -129,25 +129,19 @@
g_object_get (G_OBJECT (priv->agent), BOOKMARK_AGENT_ITEMS_PROP, & items, NULL);
for (i = 0, n_tiles = 0; (priv->limit < 0 || n_tiles < priv->limit) && items && items [i]; ++i) {
- libslab_checkpoint ("tile_table_reload(): trying to create tile for %s", items[i]->uri);
tile = GTK_WIDGET (priv->create_tile_func (items [i], priv->tile_func_data));
if (tile) {
- libslab_checkpoint ("tile_table_reload(): success!");
tiles = g_list_append (tiles, tile);
++n_tiles;
}
}
- libslab_checkpoint ("tile_table_reload(): created %d tiles", n_tiles);
-
for (node = priv->tiles; node; node = node->next)
gtk_widget_destroy (GTK_WIDGET (node->data));
g_list_free (priv->tiles);
- libslab_checkpoint ("tile_table_reload(): destroyed old tiles");
-
priv->tiles = NULL;
icon_size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
@@ -172,10 +166,8 @@
g_list_free (tiles);
- libslab_checkpoint ("tile_table_reload(): updating bins");
update_bins (this, priv->tiles);
- libslab_checkpoint ("tile_table_reload(): notifying about tile table update");
g_object_notify (G_OBJECT (this), TILE_TABLE_TILES_PROP);
libslab_checkpoint ("tile_table_reload(): end reloading");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]