[Xfce4-commits] <garcon:master> Change some code comments.
Nick Schermer
nick at xfce.org
Mon Aug 17 22:30:01 CEST 2009
Updating branch refs/heads/master
to ad38df8f34a17c8e0d3c971dbcb924ee84f6c865 (commit)
from faa3f82ab50c04ab62448a39629fcba6f5957a7e (commit)
commit ad38df8f34a17c8e0d3c971dbcb924ee84f6c865
Author: Nick Schermer <nick at xfce.org>
Date: Mon Aug 17 22:03:52 2009 +0200
Change some code comments.
garcon/garcon-menu-item-cache.c | 4 ++--
garcon/garcon-menu-separator.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/garcon/garcon-menu-item-cache.c b/garcon/garcon-menu-item-cache.c
index 219bf23..afccfd0 100644
--- a/garcon/garcon-menu-item-cache.c
+++ b/garcon/garcon-menu-item-cache.c
@@ -108,13 +108,13 @@ garcon_menu_item_cache_get_default (void)
if (G_UNLIKELY (cache == NULL))
{
- /* create a new cache */
+ /* Create a new cache */
cache = g_object_new (GARCON_TYPE_MENU_ITEM_CACHE, NULL);
g_object_add_weak_pointer (G_OBJECT (cache), (gpointer) &cache);
}
else
{
- /* set and extra reference */
+ /* Take a reference */
g_object_ref (G_OBJECT (cache));
}
diff --git a/garcon/garcon-menu-separator.c b/garcon/garcon-menu-separator.c
index c451abd..fcfe900 100644
--- a/garcon/garcon-menu-separator.c
+++ b/garcon/garcon-menu-separator.c
@@ -98,13 +98,13 @@ garcon_menu_separator_get_default (void)
if (G_UNLIKELY (separator == NULL))
{
- /* create a new cache */
+ /* Create a new separator */
separator = g_object_new (GARCON_TYPE_MENU_SEPARATOR, NULL);
g_object_add_weak_pointer (G_OBJECT (separator), (gpointer) &separator);
}
else
{
- /* set and extra reference */
+ /* Take a reference */
g_object_ref (G_OBJECT (separator));
}
More information about the Xfce4-commits
mailing list