diff pidgin/gtkprefs.c @ 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 3d8c53f3108e
children 584063555949
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);