From 3a04d29c24a5d0922805641033e716b96cec3460 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 20 Mar 2010 09:29:52 +0100 Subject: [PATCH] Bugfixes on tests functions declaration to work on windows. --- ChangeLog | 62 ++++++++++++++++++++++++++++++++++++++++- test/from_xml.c | 16 +++++------ test/from_xml_with_db.c | 8 +++--- test/main.c | 16 +++++------ 4 files changed, 81 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index ae5bb0d..4340b1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,66 @@ +commit 7295240bacddd089a9d35f5b24170e9f898d35ed +Author: Andrea Zagli +Date: 2010-03-06 + + Bugfix on GtkForm::get_objects_by_name when object not found. + +M src/form.c + +commit 3fa2a645277c383c849121e890d3c15d3e2fe3b0 +Author: Andrea Zagli +Date: 2010-03-06 + + Bugfix on float to string conversion. + +M src/fieldfloat.c + +commit 1885aa704fbdff571ecdd735539f57b59c188f0e +Author: Andrea Zagli +Date: 2010-02-21 + + Bugfix on GtkFormWidgetRadio::set_value_stringify. + +M docs/reference/libgtkform.args +M docs/reference/libgtkform.hierarchy +M src/widgetradio.c + +commit 152442a93cc3ff74d459100692e5ed07b1c6b771 +Author: Andrea Zagli +Date: 2010-02-21 + + Added radio button widget. + +M data/gtkform.dtd +M docs/reference/libgtkform-decl-list.txt +M docs/reference/libgtkform-decl.txt +M docs/reference/libgtkform-undocumented.txt +M docs/reference/libgtkform-unused.txt +M docs/reference/libgtkform.types +M src/Makefile.am +M src/form.c +M src/form.h +A src/widgetradio.c +A src/widgetradio.h +M test/test.gui +M test/test.xml + +commit 1662b0b7ac3018bb977f5a1410f3001187fd6b6f +Author: Andrea Zagli +Date: 2010-02-21 + + Enabled checkbutton to be label of themselves. + +M ChangeLog +M docs/reference/libgtkform-decl.txt +M docs/reference/libgtkform-undocumented.txt +M src/form.c +M src/widget.c +M src/widget.h +M src/widgetcheck.c + commit d3fc95d79ce768084415ac0851648c1a87b59888 Author: Andrea Zagli -Date: 2009-11-07 +Date: 2009-11-07 Bugfix for gtk_form_field_datetime_is_empty that it was incomplete. diff --git a/test/from_xml.c b/test/from_xml.c index 47c1337..6e8efcb 100644 --- a/test/from_xml.c +++ b/test/from_xml.c @@ -42,14 +42,14 @@ GtkWidget *txtvSql; GtkWidget *tbtnEditable; GtkWidget *tbtnSensitive; -void +G_MODULE_EXPORT void on_btnClear_clicked (GtkButton *button, gpointer user_data) { gtk_form_clear (form); } -void +G_MODULE_EXPORT void on_btnCheck_clicked (GtkButton *button, gpointer user_data) { @@ -65,7 +65,7 @@ on_btnCheck_clicked (GtkButton *button, } } -void +G_MODULE_EXPORT void on_tbtnEditable_toggled (GtkToggleButton *button, gpointer user_data) { @@ -81,7 +81,7 @@ on_tbtnEditable_toggled (GtkToggleButton *button, } } -void +G_MODULE_EXPORT void on_tbtnSensitive_toggled (GtkToggleButton *button, gpointer user_data) { @@ -97,7 +97,7 @@ on_tbtnSensitive_toggled (GtkToggleButton *button, } } -void +G_MODULE_EXPORT void on_btnSqlSelect_clicked (GtkButton *button, gpointer user_data) { @@ -107,7 +107,7 @@ on_btnSqlSelect_clicked (GtkButton *button, gtk_text_buffer_set_text (buf, sql, strlen (sql)); } -void +G_MODULE_EXPORT void on_btnSqlUpdate_clicked (GtkButton *button, gpointer user_data) { @@ -117,7 +117,7 @@ on_btnSqlUpdate_clicked (GtkButton *button, gtk_text_buffer_set_text (buf, sql, strlen (sql)); } -void +G_MODULE_EXPORT void on_btnSqlInsert_clicked (GtkButton *button, gpointer user_data) { @@ -127,7 +127,7 @@ on_btnSqlInsert_clicked (GtkButton *button, gtk_text_buffer_set_text (buf, sql, strlen (sql)); } -void +G_MODULE_EXPORT void on_btnSqlDelete_clicked (GtkButton *button, gpointer user_data) { diff --git a/test/from_xml_with_db.c b/test/from_xml_with_db.c index a050d9c..b080629 100644 --- a/test/from_xml_with_db.c +++ b/test/from_xml_with_db.c @@ -58,7 +58,7 @@ gint current_id; void fill_cb_customers (void); -void +G_MODULE_EXPORT void on_btn_new_clicked (GtkButton *button, gpointer user_data) { @@ -66,7 +66,7 @@ on_btn_new_clicked (GtkButton *button, current_id = 0; } -void +G_MODULE_EXPORT void on_btn_save_clicked (GtkButton *button, gpointer user_data) { @@ -109,7 +109,7 @@ on_btn_save_clicked (GtkButton *button, on_btn_new_clicked (NULL, NULL); } -void +G_MODULE_EXPORT void on_btn_delete_clicked (GtkButton *button, gpointer user_data) { @@ -123,7 +123,7 @@ on_btn_delete_clicked (GtkButton *button, on_btn_new_clicked (NULL, NULL); } -void +G_MODULE_EXPORT void on_btn_open_clicked (GtkButton *button, gpointer user_data) { diff --git a/test/main.c b/test/main.c index 8e28fc9..03e7597 100644 --- a/test/main.c +++ b/test/main.c @@ -56,14 +56,14 @@ GtkWidget *txtvSql; GtkWidget *tbtnEditable; GtkWidget *tbtnSensitive; -void +G_MODULE_EXPORT void on_btnClear_clicked (GtkButton *button, gpointer user_data) { gtk_form_clear (form); } -void +G_MODULE_EXPORT void on_btnCheck_clicked (GtkButton *button, gpointer user_data) { @@ -79,7 +79,7 @@ on_btnCheck_clicked (GtkButton *button, } } -void +G_MODULE_EXPORT void on_tbtnEditable_toggled (GtkToggleButton *button, gpointer user_data) { @@ -95,7 +95,7 @@ on_tbtnEditable_toggled (GtkToggleButton *button, } } -void +G_MODULE_EXPORT void on_tbtnSensitive_toggled (GtkToggleButton *button, gpointer user_data) { @@ -111,7 +111,7 @@ on_tbtnSensitive_toggled (GtkToggleButton *button, } } -void +G_MODULE_EXPORT void on_btnSqlSelect_clicked (GtkButton *button, gpointer user_data) { @@ -121,7 +121,7 @@ on_btnSqlSelect_clicked (GtkButton *button, gtk_text_buffer_set_text (buf, sql, strlen (sql)); } -void +G_MODULE_EXPORT void on_btnSqlUpdate_clicked (GtkButton *button, gpointer user_data) { @@ -131,7 +131,7 @@ on_btnSqlUpdate_clicked (GtkButton *button, gtk_text_buffer_set_text (buf, sql, strlen (sql)); } -void +G_MODULE_EXPORT void on_btnSqlInsert_clicked (GtkButton *button, gpointer user_data) { @@ -141,7 +141,7 @@ on_btnSqlInsert_clicked (GtkButton *button, gtk_text_buffer_set_text (buf, sql, strlen (sql)); } -void +G_MODULE_EXPORT void on_btnSqlDelete_clicked (GtkButton *button, gpointer user_data) { -- 2.49.0