mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/gnome-utils/gnc-date-format.c: ignore empty "custom" formats.
* src/gnome-utils/gnc-query-list.c: add a test for NULL. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8494 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
* src/report/standard-reports/transaction.scm: make sure we have
|
||||
the right number of arguments for all renderers. Fixes #114641.
|
||||
|
||||
* src/gnome-utils/gnc-date-format.c: ignore empty "custom" formats.
|
||||
* src/gnome-utils/gnc-query-list.c: add a test for NULL.
|
||||
|
||||
2003-06-08 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/import-export/hbci/*.c: Remove old unused code.
|
||||
|
||||
@@ -344,7 +344,10 @@ gnc_date_format_set_custom (GNCDateFormat *gdf, const char *format)
|
||||
g_return_if_fail(gdf);
|
||||
g_return_if_fail(GNC_IS_DATE_FORMAT(gdf));
|
||||
|
||||
gtk_entry_set_text(GTK_ENTRY(gdf->priv->custom_entry), format ? format : "");
|
||||
if (format == NULL || *format == '\0')
|
||||
return;
|
||||
|
||||
gtk_entry_set_text(GTK_ENTRY(gdf->priv->custom_entry), format);
|
||||
gnc_date_format_compute_format(gdf);
|
||||
}
|
||||
|
||||
|
||||
@@ -205,6 +205,7 @@ static void
|
||||
gnc_query_list_refresh_handler (GHashTable *changes, gpointer user_data)
|
||||
{
|
||||
GNCQueryList *list = (GNCQueryList *)user_data;
|
||||
g_return_if_fail (list);
|
||||
g_return_if_fail (IS_GNC_QUERY_LIST(list));
|
||||
|
||||
gnc_query_list_refresh (list);
|
||||
|
||||
Reference in New Issue
Block a user