On 04/05/12 01:54 PM, cvs@abisource.com wrote:
> static gboolean
> -OnSemanticStylesheetsSetContacts_cb( GtkWidget* /*w*/, GdkEvent* /*event*/,
> - GtkComboBoxText *combo_box )
> +OnSemanticStylesheetsSet_cb (GtkWidget *widget, GdkEvent *event, combo_box_t *box)
> {
> - const gchar * t = getStylesheetName( ssListContact, gtk_combo_box_get_active_id( GTK_COMBO_BOX(combo_box) ) );
> - std::string ssName = t ? t : RDF_SEMANTIC_STYLESHEET_CONTACT_NAME;
> + UT_UNUSED(widget);
> + UT_UNUSED(event);
Just a comment. In general it is better to omit the parameter (totally
valid in C++) than to use UT_UNUSED().
Hub
Received on Fri May 4 23:18:29 2012
This archive was generated by hypermail 2.1.8 : Fri May 04 2012 - 23:18:29 CEST