MODEL_COL_ID = 1 /* an int. */
};
-void modest_secureauth_picker_fill (ModestSecureauthPicker *picker);
+static void modest_secureauth_picker_fill (ModestSecureauthPicker *picker);
static gchar *
-touch_selector_print_func (HildonTouchSelector *selector)
+touch_selector_print_func (HildonTouchSelector *selector, gpointer userdata)
{
GtkTreeIter iter;
if (hildon_touch_selector_get_selected (HILDON_TOUCH_SELECTOR (selector), 0, &iter)) {
renderer, "text", MODEL_COL_NAME, NULL);
hildon_touch_selector_set_model (HILDON_TOUCH_SELECTOR (selector), 0, GTK_TREE_MODEL (priv->model));
- hildon_touch_selector_set_print_func (HILDON_TOUCH_SELECTOR (selector), touch_selector_print_func);
+ hildon_touch_selector_set_print_func (HILDON_TOUCH_SELECTOR (selector), (HildonTouchSelectorPrintFunc) touch_selector_print_func);
hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (self), HILDON_TOUCH_SELECTOR (selector));
modest_secureauth_picker_fill (self);
+ /* For theming purpouses. Widget name must end in Button-finger */
+ gtk_widget_set_name ((GtkWidget *) self, "ModestSecureauthPickerButton-finger");
+
return self;
}
* #picker: The combo box.
* @protocol: IMAP or POP.
*/
-void modest_secureauth_picker_fill (ModestSecureauthPicker *picker)
+static void
+modest_secureauth_picker_fill (ModestSecureauthPicker *picker)
{
ModestSecureauthPickerPrivate *priv;
GtkListStore *liststore;