[maemo-commits] [maemo-commits] r16836 - projects/haf/branches/hildon-fm/fremantle/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Dec 2 11:57:14 EET 2008
Author: rabinovich
Date: 2008-12-02 11:57:04 +0200 (Tue, 02 Dec 2008)
New Revision: 16836

Modified:
   projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-chooser-dialog.c
Log:
add cast

Modified: projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-chooser-dialog.c
===================================================================
--- projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-chooser-dialog.c	2008-12-02 09:40:16 UTC (rev 16835)
+++ projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-chooser-dialog.c	2008-12-02 09:57:04 UTC (rev 16836)
@@ -2589,7 +2589,7 @@
       model = hildon_touch_selector_get_model(HILDON_TOUCH_SELECTOR(priv->selector), 0);
 
       /* if there is a valid extension selected, just leave it */
-      if (hildon_touch_selector_get_selected (priv->selector, 0, &iter))
+      if (hildon_touch_selector_get_selected (HILDON_TOUCH_SELECTOR(priv->selector), 0, &iter))
       //if (hildon_touch_selector_get_active_iter (priv->selector, 0, &iter))
         {
 	  gboolean matches;
@@ -2610,7 +2610,7 @@
 	  gtk_tree_model_get (model, &iter, 0, &ext, -1);
 	  if (strcmp (ext, priv->ext_name + 1) == 0)
 	    {
-	      hildon_touch_selector_select_iter (priv->selector, 0, &iter, TRUE);
+                hildon_touch_selector_select_iter (HILDON_TOUCH_SELECTOR(priv->selector), 0, &iter, TRUE);
 	      //hildon_touch_selector_set_active_iter (priv->selector, 0, &iter, TRUE);
               hildon_button_set_value(HILDON_BUTTON(priv->extensions_combo), ext);
 


More information about the maemo-commits mailing list