Re: flow box



Hi Matthias,

Minor problem picking: I thought it might be a good idea if we use g_return_val_if_fail(GTK_IS_FLOW_BOX_CHILD (child), FALSE) instead of g_return_if_fail(GTK_IS_FLOW_BOX_CHILD (child)) in gtk_flow_box_child_is_selected() when an invalid GtkFlowBoxChild* is passed in to that function, as compilers expect a gboolean to be returned to go without a warning/error for that.

Here's my simple fix for this, please let me know if this is OK to push.

With blessings, thank you!

Attachment: 0001-gtk-gtkflowbox-Fix-build-warning-error.patch
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]