[maemo-commits] [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2779
From: www-data www-data at stage.maemo.orgDate: Wed Mar 15 16:42:25 EET 2006
- Previous message: [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2778
- Next message: [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2780
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Cleanup Find toolbar, * hildon-widgets/hildon-find-toolbar.[ch] (hildon_find_toolbar_new): set 'label' parameter const. (hildon_find_toolbar_new_with_model): likewise. * hildon-widgets/hildon-find-toolbar.c (struct _HildonFindToolbarPrivate): changed entry_combo_box type to GtkComboBoxEntry* (hildon_find_toolbar_get_list_model): new function, to factor member access and casting (hildon_find_toolbar_get_entry): likewise. (hildon_find_toolbar_apply_filter): removed set_column parameter since it was used by only one caller, and made the caller do it instead. Removed unnecessary casts. (hildon_find_toolbar_find_string): new function. (hildon_find_toolbar_history_append): code cleanup. use hildon_find_toolbar_find_string. (hildon_find_toolbar_get_property) (hildon_find_toolbar_get_entry) (hildon_find_toolbar_init) (hildon_find_toolbar_new) (hildon_find_toolbar_new_with_model) (hildon_find_toolbar_highlight_entry): Removed unnecessary casts and changed some of them to use the new convenience functions instead. (hildon_find_toolbar_highlight_entry): use g_return_if_fail() instead of if-check to validate parameter. U projects/haf/branches/hildon-libs/QI-clean-up/ChangeLog U projects/haf/branches/hildon-libs/QI-clean-up/hildon-widgets/hildon-find-toolbar.c U projects/haf/branches/hildon-libs/QI-clean-up/hildon-widgets/hildon-find-toolbar.h URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=2779 /branches/hildon-libs/QI-clean-up/
- Previous message: [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2778
- Next message: [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2780
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]