From 59192f8be9d81650c4d0e9ee1b201a762528dde8 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 28 Nov 2017 09:42:13 +0300 Subject: fix typos in some more comments --- src/egg-array-float.c | 2 +- src/gpm-tray-icon.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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"); -- cgit v1.2.1