[maemo-commits] [maemo-commits] /trunk/hildon-libs/ - luc - r2891
From: www-data www-data at stage.maemo.orgDate: Thu Mar 16 17:18:35 EET 2006
- Previous message: [maemo-commits] /trunk/hildon-libs/ - luc - r2890
- Next message: [maemo-commits] /trunk/dbus/debian/patches/ - kihamala - r2892
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Cleanup color button * hildon-widgets/hildon-color-button.c: - removed unused #include - removed unused gettext macro (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT + value updated to match specifications (struct _HildonColorButtonPrivate): removed 'drawing_area' and 'pixbuf' members (unused) (hildon_color_button_init): use drawing_area directly, update COLOR_FILLED_ macro names (hildon_color_button_unrealize): new function. (hildon_color_button_class_init): register unrealize function (hildon_color_button_finalize): free allocated GC in unrealize handler instead of in finalize. (hildon_color_button_recolor_pixbuf): removed. (use gdk_draw_rectangle() instead) (hildon_color_button_draw_pixbuf_borders): likewise (hildon_color_field_expose_event): use gdk_draw_rectangle() to draw the button (hildon_color_button_set_property): queue the drawing - instead of calling recolor_pixbuf (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog' U projects/haf/trunk/hildon-libs/ChangeLog U projects/haf/trunk/hildon-libs/hildon-widgets/hildon-color-button.c URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=2891 /trunk/hildon-libs/
- Previous message: [maemo-commits] /trunk/hildon-libs/ - luc - r2890
- Next message: [maemo-commits] /trunk/dbus/debian/patches/ - kihamala - r2892
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]