changeset 25923:7fc110f70662

s/sucess/success/ in a few places
author Mark Doliner <mark@kingant.net>
date Mon, 26 Jan 2009 06:37:28 +0000
parents 860d0c98d67d
children 584063555949
files pidgin/gtkprefs.c pidgin/gtksourceundomanager.c
diffstat 2 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkprefs.c	Mon Jan 26 06:35:37 2009 +0000
+++ b/pidgin/gtkprefs.c	Mon Jan 26 06:37:28 2009 +0000
@@ -703,14 +703,14 @@
 	gtk_cell_renderer_set_fixed_size(cell_rend, PREFS_OPTIMAL_ICON_SIZE, PREFS_OPTIMAL_ICON_SIZE);
 	gtk_cell_layout_pack_start(GTK_CELL_LAYOUT (combo_box), cell_rend, FALSE);
 	gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(combo_box), cell_rend, "pixbuf", 0, NULL);
-	
+
 	cell_rend = gtk_cell_renderer_text_new();
 	gtk_cell_layout_pack_start(GTK_CELL_LAYOUT (combo_box), cell_rend, FALSE);
 	gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(combo_box), cell_rend, "markup", 1, NULL);
 /*#if GTK_CHECK_VERSION(2,6,0)
 			g_object_set(cell_rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL);
 #endif*/
-	
+
 	if (gtk_tree_model_get_iter_first(GTK_TREE_MODEL(store), &iter)) {
 		do {
 			gtk_tree_model_get(GTK_TREE_MODEL(store), &iter, 2, &theme, -1);
@@ -737,12 +737,11 @@
 	gint i;
 	gchar *pref;
 	gchar *new_theme;
-	gboolean sucess;
+	gboolean success;
 	GtkTreeIter new_iter;
-	
-
-	sucess = gtk_combo_box_get_active_iter(combo_box, &new_iter);
-	g_return_if_fail(sucess);
+
+	success = gtk_combo_box_get_active_iter(combo_box, &new_iter);
+	g_return_if_fail(success);
 
 	gtk_tree_model_get(GTK_TREE_MODEL(prefs_sound_themes), &new_iter, 2, &new_theme, -1);
 
--- a/pidgin/gtksourceundomanager.c	Mon Jan 26 06:35:37 2009 +0000
+++ b/pidgin/gtksourceundomanager.c	Mon Jan 26 06:37:28 2009 +0000
@@ -963,7 +963,7 @@
  * the stack with a new undo action. So when we undo for example
  * typing, we can undo the whole word and not each letter by itself.
  * 
- * Return Value: %TRUE is merge was sucessful, %FALSE otherwise.²
+ * Return Value: %TRUE is merge was successful, %FALSE otherwise.²
  **/
 static gboolean 
 gtk_source_undo_manager_merge_action (GtkSourceUndoManager 	*um,