[accounts-dialog] Fix some warnings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accounts-dialog] Fix some warnings
- Date: Thu, 14 Oct 2010 04:32:10 +0000 (UTC)
commit 2faf04a8e8a1aba0e53178574ef8ce5e275abd24
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 14 00:29:56 2010 -0400
Fix some warnings
src/um-editable-button.c | 2 +-
src/um-language-dialog.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/um-editable-button.c b/src/um-editable-button.c
index 4a75046..3212459 100644
--- a/src/um-editable-button.c
+++ b/src/um-editable-button.c
@@ -183,7 +183,7 @@ um_editable_button_set_scale (UmEditableButton *button,
gdouble
um_editable_button_get_scale (UmEditableButton *button)
{
- button->priv->scale;
+ return button->priv->scale;
}
static void
diff --git a/src/um-language-dialog.c b/src/um-language-dialog.c
index 0f2ab87..9362b62 100644
--- a/src/um-language-dialog.c
+++ b/src/um-language-dialog.c
@@ -528,7 +528,7 @@ um_language_dialog_set_user (UmLanguageDialog *um,
name = um_user_get_real_name (user);
gtk_label_set_label (GTK_LABEL (um->user_name), name);
- um_add_user_languages (gtk_combo_box_get_model (um->dialog_combo));
+ um_add_user_languages (gtk_combo_box_get_model (GTK_COMBO_BOX (um->dialog_combo)));
language = um_user_get_language (user);
if (language) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]