projects
/
hildon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
[hildon]
/
src
/
hildon-date-button.c
diff --git
a/src/hildon-date-button.c
b/src/hildon-date-button.c
index
10a9488
..
3c12833
100644
(file)
--- a/
src/hildon-date-button.c
+++ b/
src/hildon-date-button.c
@@
-14,6
+14,10
@@
*
*/
*
*/
+#include "hildon-date-button.h"
+#include "hildon-date-selector.h"
+#include "hildon-touch-selector.h"
+
/**
* SECTION:hildon-date-button
* @Short_Description: Button displaying and allowing selection of a date.
/**
* SECTION:hildon-date-button
* @Short_Description: Button displaying and allowing selection of a date.
@@
-25,11
+29,6
@@
* a different date from the selector, this will be shown in the button.
*/
* a different date from the selector, this will be shown in the button.
*/
-#include "hildon-date-selector.h"
-#include "hildon-touch-selector.h"
-#include "hildon-picker-button.h"
-#include "hildon-date-button.h"
-
G_DEFINE_TYPE (HildonDateButton, hildon_date_button, HILDON_TYPE_PICKER_BUTTON)
#if 0
G_DEFINE_TYPE (HildonDateButton, hildon_date_button, HILDON_TYPE_PICKER_BUTTON)
#if 0
@@
-159,4
+158,6
@@
hildon_date_button_set_date (HildonDateButton * button,
date = hildon_touch_selector_get_current_text (HILDON_TOUCH_SELECTOR (selector));
hildon_button_set_value (HILDON_BUTTON (button), date);
date = hildon_touch_selector_get_current_text (HILDON_TOUCH_SELECTOR (selector));
hildon_button_set_value (HILDON_BUTTON (button), date);
+
+ g_free (date);
}
}