summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-11-28 09:42:13 +0300
committermonsta <[email protected]>2017-11-28 09:42:13 +0300
commit59192f8be9d81650c4d0e9ee1b201a762528dde8 (patch)
tree7bfcb73bf11c6de6afab56185305f8cf950d9207
parent50130054328889b47f7f8f8a3ff18eaa493c646d (diff)
downloadmate-power-manager-59192f8be9d81650c4d0e9ee1b201a762528dde8.tar.bz2
mate-power-manager-59192f8be9d81650c4d0e9ee1b201a762528dde8.tar.xz
fix typos in some more comments
-rw-r--r--src/egg-array-float.c2
-rw-r--r--src/gpm-tray-icon.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/egg-array-float.c b/src/egg-array-float.c
index 3213330..51f8594 100644
--- a/src/egg-array-float.c
+++ b/src/egg-array-float.c
@@ -300,7 +300,7 @@ powfi (gfloat base, guint n)
* Return value: Data with outliers removed
*
* Compares local sections of the data, removing outliers if they fall
- * ouside of sigma, and using the average of the other points in it's place.
+ * outside of sigma, and using the average of the other points in its place.
**/
EggArrayFloat *
egg_array_float_remove_outliers (EggArrayFloat *data, guint length, gfloat sigma)
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index dbf14ab..726b9ba 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -261,7 +261,7 @@ gpm_tray_icon_add_device (GpmTrayIcon *icon, GtkMenu *menu, const GPtrArray *arr
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item), TRUE);
- /* callback and add the the menu */
+ /* set callback and add the menu */
g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (gpm_tray_icon_show_info_cb), icon);
g_object_set_data (G_OBJECT (item), "object-path", (gpointer) object_path);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
@@ -341,7 +341,7 @@ gpm_tray_icon_create_menu (GpmTrayIcon *icon)
if (!icon->priv->show_actions)
goto skip_prefs;
- /* only do the seporator if we have at least one device */
+ /* only do the separator if we have at least one device */
if (dev_cnt != 0) {
item = gtk_separator_menu_item_new ();
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
@@ -361,7 +361,7 @@ gpm_tray_icon_create_menu (GpmTrayIcon *icon)
GdkScreen *screen = gtk_widget_get_screen(GTK_WIDGET(toplevel));
GdkVisual *visual = gdk_screen_get_rgba_visual(screen);
gtk_widget_set_visual(GTK_WIDGET(toplevel), visual);
- /* Set menu and it's toplevel window to follow panel theme */
+ /* Set menu and its toplevel window to follow panel theme */
GtkStyleContext *context;
context = gtk_widget_get_style_context (GTK_WIDGET(toplevel));
gtk_style_context_add_class(context,"gnome-panel-menu-bar");