[hafqa] [hafqa] [Bug 800] Avoid compiler warning: unused variable

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Mon Oct 9 14:22:30 EEST 2006
https://maemo.org/bugzilla/show_bug.cgi?id=800


marius.vollmer at nokia.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From marius.vollmer at nokia.com  2006-10-09 14:22 -------
Thanks.  I made the following change in trunk instead, since prev_handle_pos is
really needed sometimes.  Will be in hildon-fm 1.13.

2006-10-09  Marius Vollmer  <marius.vollmer at nokia.com>

	* hildon-fm/hildon-file-selection.c: Move definition of
	prev_handle_pos into the HILDON_FM_HPANED conditional.


Index: hildon-fm/hildon-file-selection.c
===================================================================
--- hildon-fm/hildon-file-selection.c	(revision 7064)
+++ hildon-fm/hildon-file-selection.c	(working copy)
@@ -99,14 +99,16 @@
                                         GtkTreeModel *parent_model);
 
 #ifdef HILDON_FM_HPANED
+
 static void
 position_change_event(GObject *g_object,
                       GParamSpec *pspec,
                       gpointer *data);
-#endif
 
 static gint prev_handle_pos;
 
+#endif
+
 static guint signal_folder_changed,
              signal_file_activated,
              signal_selection_changed; /* Signal ids */

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list