aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-10-07 10:35:50 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-10-07 10:35:50 -0500
commitc4d75c050859d961d6212793e94ea3151c30afd2 (patch)
tree2f88b840c344a0f300a43eba507ae891bad30705
parent59975c98291d252bdb1b7c955376d6498dfafea6 (diff)
downloadlibdbusmenu-c4d75c050859d961d6212793e94ea3151c30afd2.tar.gz
libdbusmenu-c4d75c050859d961d6212793e94ea3151c30afd2.tar.bz2
libdbusmenu-c4d75c050859d961d6212793e94ea3151c30afd2.zip
fix grammar: use of its and it's
-rw-r--r--libdbusmenu-glib/client.c4
-rw-r--r--libdbusmenu-glib/defaults.c2
-rw-r--r--libdbusmenu-glib/menuitem.c6
-rw-r--r--libdbusmenu-glib/menuitem.h6
-rw-r--r--libdbusmenu-glib/server.c2
-rw-r--r--libdbusmenu-gtk/client.c6
-rw-r--r--libdbusmenu-gtk/genericmenuitem.c2
-rw-r--r--libdbusmenu-gtk/genericmenuitem.h2
-rw-r--r--libdbusmenu-gtk/menu.c2
-rw-r--r--libdbusmenu-gtk/parser.c2
-rw-r--r--tools/dbusmenu-dumper.c2
11 files changed, 18 insertions, 18 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index b6e7204..237697c 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -2511,7 +2511,7 @@ type_handler_destroy (gpointer user_data)
* items when they come in.
*
* This function connects into the type handling of the #DbusmenuClient.
- * Every new menuitem that comes in immediately gets asked for it's
+ * Every new menuitem that comes in immediately gets asked for its
* properties. When we get those properties we check the 'type'
* property and look to see if it matches a handler that is known
* by the client. If so, the @newfunc function is executed on that
@@ -2542,7 +2542,7 @@ dbusmenu_client_add_type_handler (DbusmenuClient * client, const gchar * type, D
* the resources in @user_data.
*
* This function connects into the type handling of the #DbusmenuClient.
- * Every new menuitem that comes in immediately gets asked for it's
+ * Every new menuitem that comes in immediately gets asked for its
* properties. When we get those properties we check the 'type'
* property and look to see if it matches a handler that is known
* by the client. If so, the @newfunc function is executed on that
diff --git a/libdbusmenu-glib/defaults.c b/libdbusmenu-glib/defaults.c
index d6ee7cc..a0a78a5 100644
--- a/libdbusmenu-glib/defaults.c
+++ b/libdbusmenu-glib/defaults.c
@@ -228,7 +228,7 @@ dbusmenu_defaults_default_set (DbusmenuDefaults * defaults, const gchar * type,
* Gets an entry in the database for a give @property and @type.
*
* Return value: (transfer none): Returns a variant that does not
- * have it's ref count increased. If you want to keep it, you should
+ * have its ref count increased. If you want to keep it, you should
* do that.
*/
GVariant *
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c
index cfc6bc3..7e9d204 100644
--- a/libdbusmenu-glib/menuitem.c
+++ b/libdbusmenu-glib/menuitem.c
@@ -192,7 +192,7 @@ dbusmenu_menuitem_class_init (DbusmenuMenuitemClass *klass)
@arg2: The position that the child is being moved to.
@arg3: The position that the child is was in.
- Signaled when the child menuitem has had it's location
+ Signaled when the child menuitem has had its location
in the list change.
*/
signals[CHILD_MOVED] = g_signal_new(DBUSMENU_MENUITEM_SIGNAL_CHILD_MOVED,
@@ -800,7 +800,7 @@ dbusmenu_menuitem_child_delete (DbusmenuMenuitem * mi, DbusmenuMenuitem * child)
g_return_val_if_fail(DBUSMENU_IS_MENUITEM(child), FALSE);
if (dbusmenu_menuitem_get_parent(child) != mi) {
- g_warning("Trying to remove a child that doesn't believe we're it's parent.");
+ g_warning("Trying to remove a child that doesn't believe we're its parent.");
return FALSE;
}
@@ -1628,7 +1628,7 @@ dbusmenu_menuitem_get_root (DbusmenuMenuitem * mi)
*
* This function will put at least one entry if this menu item has no children.
* If it has children it will put two for this entry, one representing the
- * start tag and one that is a closing tag. It will allow it's
+ * start tag and one that is a closing tag. It will allow its
* children to place their own tags in the array in between those two.
*
* Return value: (transfer full): Variant representing @properties
diff --git a/libdbusmenu-glib/menuitem.h b/libdbusmenu-glib/menuitem.h
index d9e26cf..a9994d1 100644
--- a/libdbusmenu-glib/menuitem.h
+++ b/libdbusmenu-glib/menuitem.h
@@ -409,9 +409,9 @@ typedef void (*dbusmenu_menuitem_about_to_show_cb) (DbusmenuMenuitem * mi, gpoin
* @properties: (allow-none): A list of properties that should be the only ones in the resulting variant structure
*
* This is the function that is called to represent this menu item
- * as a variant. Should call it's own children.
+ * as a variant. Should call its own children.
*
- * Return value: (transfer full): A variant representing this item and it's children
+ * Return value: (transfer full): A variant representing this item and its children
*/
typedef GVariant * (*dbusmenu_menuitem_buildvariant_slot_t) (DbusmenuMenuitem * mi, gchar ** properties);
@@ -528,7 +528,7 @@ void dbusmenu_menuitem_show_to_user (DbusmenuMenuitem * mi, guint timestamp);
* and copied over to the client side where it gets rendered. As
* the server starts to change it, and grow it, and do all kinds
* of fun stuff that information is transfered over DBus and the
- * client updates it's understanding of the object model.
+ * client updates its understanding of the object model.
*
* Most people using either the client or the server should be
* able to deal mostly with #DbusmenuMenuitem objects. These
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index f47bb5d..c0cd200 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -292,7 +292,7 @@ dbusmenu_server_class_init (DbusmenuServerClass *class)
@arg2: The timestamp of when the event happened
This is signaled when a menuitem under this server
- sends it's activate signal.
+ sends its activate signal.
*/
signals[ITEM_ACTIVATION] = g_signal_new(DBUSMENU_SERVER_SIGNAL_ITEM_ACTIVATION,
G_TYPE_FROM_CLASS(class),
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c
index 60af93f..d16209a 100644
--- a/libdbusmenu-gtk/client.c
+++ b/libdbusmenu-gtk/client.c
@@ -193,7 +193,7 @@ theme_dir_ref (GtkIconTheme * theme, GHashTable * db, const gchar * dir)
return;
}
-/* Unreference the theme directory, and if it's count goes to zero then
+/* Unreference the theme directory, and if its count goes to zero then
we need to remove it from the search path. */
static void
theme_dir_unref (GtkIconTheme * theme, GHashTable * db, const gchar * dir)
@@ -462,7 +462,7 @@ static const gchar * data_delayed_close = "dbusmenugtk-data-delayed-close";
static void
menu_item_start_activating(DbusmenuMenuitem * mi)
{
- /* Mark this item and all it's parents as activating */
+ /* Mark this item and all its parents as activating */
DbusmenuMenuitem * parent = mi;
do {
g_object_set_data(G_OBJECT(parent), data_activating,
@@ -485,7 +485,7 @@ menu_item_stop_activating(DbusmenuMenuitem * mi)
if (!menu_item_is_activating(mi))
return;
- /* Mark this item and all it's parents as not activating and finally
+ /* Mark this item and all its parents as not activating and finally
send their queued close event. */
g_object_set_data(G_OBJECT(mi), data_activating, GINT_TO_POINTER(FALSE));
diff --git a/libdbusmenu-gtk/genericmenuitem.c b/libdbusmenu-gtk/genericmenuitem.c
index ae6d4c0..9707ba3 100644
--- a/libdbusmenu-gtk/genericmenuitem.c
+++ b/libdbusmenu-gtk/genericmenuitem.c
@@ -1,6 +1,6 @@
/*
A menuitem subclass that has the ability to do lots of different
-things depending on it's settings.
+things depending on its settings.
Copyright 2009 Canonical Ltd.
diff --git a/libdbusmenu-gtk/genericmenuitem.h b/libdbusmenu-gtk/genericmenuitem.h
index 0b7df55..0164f13 100644
--- a/libdbusmenu-gtk/genericmenuitem.h
+++ b/libdbusmenu-gtk/genericmenuitem.h
@@ -1,6 +1,6 @@
/*
A menuitem subclass that has the ability to do lots of different
-things depending on it's settings.
+things depending on its settings.
Copyright 2009 Canonical Ltd.
diff --git a/libdbusmenu-gtk/menu.c b/libdbusmenu-gtk/menu.c
index 236a596..3ec419a 100644
--- a/libdbusmenu-gtk/menu.c
+++ b/libdbusmenu-gtk/menu.c
@@ -296,7 +296,7 @@ root_child_delete (DbusmenuMenuitem * root, DbusmenuMenuitem * child, DbusmenuGt
return;
}
-/* Called when the child is realized, and thus has all of it's
+/* Called when the child is realized, and thus has all of its
properties and GTK-isms. We can put it in our menu here. */
static void
child_realized (DbusmenuMenuitem * child, gpointer userdata)
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c
index 39cc9f8..778491d 100644
--- a/libdbusmenu-gtk/parser.c
+++ b/libdbusmenu-gtk/parser.c
@@ -340,7 +340,7 @@ parser_data_free (ParserData * pdata)
return;
}
-/* Gets the positon of the child with its' parent if it has one.
+/* Gets the positon of the child with its parent if it has one.
Returns -1 if the position is unable to be calculated. */
static gint
get_child_position (GtkWidget * child)
diff --git a/tools/dbusmenu-dumper.c b/tools/dbusmenu-dumper.c
index 6dcdb2f..253f1d5 100644
--- a/tools/dbusmenu-dumper.c
+++ b/tools/dbusmenu-dumper.c
@@ -112,7 +112,7 @@ decrement_count (void)
}
/* Checks whether we need to watch a menu item, and recurses down to
- it's children as well */
+ its children as well */
static void
check_realizations (DbusmenuMenuitem * item)
{