mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Minor work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2270 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2000-05-07 Dave Peticolas <peticola@cs.ucdavis.edu>
|
||||
|
||||
* src/gnome/window-register.c (deleteCB): use g_strdup_printf
|
||||
instead of asprintf.
|
||||
|
||||
2000-05-06 Dave Peticolas <peticola@cs.ucdavis.edu>
|
||||
|
||||
* src/engine/Query.c: g_list_sort *returns* the new first node.
|
||||
|
||||
@@ -2197,15 +2197,13 @@ deleteCB(GtkWidget *widget, gpointer data)
|
||||
if (cursor_type == CURSOR_SPLIT)
|
||||
{
|
||||
/* ask for user confirmation before performing permanent damage */
|
||||
asprintf(&buf, TRANS_DEL_MSG, xaccSplitGetMemo(split),
|
||||
xaccTransGetDescription(trans));
|
||||
|
||||
assert(buf != NULL);
|
||||
buf = g_strdup_printf(TRANS_DEL_MSG, xaccSplitGetMemo(split),
|
||||
xaccTransGetDescription(trans));
|
||||
|
||||
result = gnc_verify_dialog_parented(GTK_WINDOW(regData->window),
|
||||
buf, GNC_F);
|
||||
|
||||
free(buf);
|
||||
g_free(buf);
|
||||
|
||||
if (!result)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user