X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=hildon%2Fhildon-picker-dialog.c;h=094787704d455cfa3fa9a7ba82c88129458fdeb6;hb=e7ebb4366bbce4a0a9b7b4a04a7e7f0464a0159c;hp=0647e7d8a647a1a16bae53e70a45686e00de3e43;hpb=ae7c25e920f7773325a1f48b23fd86018c03f2ae;p=hildon diff --git a/hildon/hildon-picker-dialog.c b/hildon/hildon-picker-dialog.c index 0647e7d..0947877 100644 --- a/hildon/hildon-picker-dialog.c +++ b/hildon/hildon-picker-dialog.c @@ -1,7 +1,7 @@ /* * This file is a part of hildon * - * Copyright (C) 2005, 2008 Nokia Corporation. + * Copyright (C) 2005, 2008, 2009 Nokia Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -550,7 +550,7 @@ _save_current_selection (HildonPickerDialog *dialog) } if (HILDON_IS_TOUCH_SELECTOR_ENTRY (selector)) { HildonEntry *entry = hildon_touch_selector_entry_get_entry (HILDON_TOUCH_SELECTOR_ENTRY (selector)); - dialog->priv->current_text = g_strdup (hildon_entry_get_text (entry)); + dialog->priv->current_text = g_strdup (gtk_entry_get_text (GTK_ENTRY (entry))); } } @@ -596,7 +596,7 @@ _restore_current_selection (HildonPickerDialog *dialog) } if (HILDON_IS_TOUCH_SELECTOR_ENTRY (selector) && dialog->priv->current_text != NULL) { HildonEntry *entry = hildon_touch_selector_entry_get_entry (HILDON_TOUCH_SELECTOR_ENTRY (selector)); - hildon_entry_set_text (entry, dialog->priv->current_text); + gtk_entry_set_text (GTK_ENTRY (entry), dialog->priv->current_text); } if (dialog->priv->signal_changed_id) g_signal_handler_unblock (selector, dialog->priv->signal_changed_id);