[Gnucash-changes] r11980 - gnucash/trunk - Remove unused function.
David Hampton
hampton at cvs.gnucash.org
Sat Nov 19 18:07:13 EST 2005
Author: hampton
Date: 2005-11-19 18:07:12 -0500 (Sat, 19 Nov 2005)
New Revision: 11980
Trac: http://svn.gnucash.org/trac/changeset/11980
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/gnome-utils/gnc-date-format.c
gnucash/trunk/src/gnome-utils/gnc-date-format.h
Log:
Remove unused function.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2005-11-19 13:15:19 UTC (rev 11979)
+++ gnucash/trunk/ChangeLog 2005-11-19 23:07:12 UTC (rev 11980)
@@ -1,3 +1,7 @@
+2005-11-19 David Hampton <hampton at employees.org>
+
+ * src/gnome-utils/gnc-date-format.[ch]: Remove unused function.
+
2005-11-18 David Hampton <hampton at employees.org>
* src/import-export/qif-import/druid-qif-import.c:
Modified: gnucash/trunk/src/gnome-utils/gnc-date-format.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-date-format.c 2005-11-19 13:15:19 UTC (rev 11979)
+++ gnucash/trunk/src/gnome-utils/gnc-date-format.c 2005-11-19 23:07:12 UTC (rev 11980)
@@ -388,29 +388,7 @@
return gtk_entry_get_text(GTK_ENTRY(priv->custom_entry));
}
-/**
- * gnc_date_format_editable_enters:
- * @dialog: The gnome dialog this date formator lives in
- * @gdf: The date formator to modity
- *
- * Extracts the formatable field from a GNCDateFormat widget, and sets it
- * up so that pressing the Enter key in this field as the same as
- * clicking the button that has the default.
- **/
void
-gnc_date_format_editable_enters (GnomeDialog *dialog, GNCDateFormat *gdf)
-{
- GNCDateFormatPriv *priv;
-
- g_return_if_fail(dialog);
- g_return_if_fail(gdf);
- g_return_if_fail(GNC_IS_DATE_FORMAT(gdf));
-
- priv = GNC_DATE_FORMAT_GET_PRIVATE(gdf);
- gtk_entry_set_activates_default(GTK_ENTRY(priv->custom_entry), TRUE);
-}
-
-void
gnc_ui_date_format_changed_cb(GtkWidget *unused, gpointer user_data)
{
GNCDateFormat * gdf = user_data;
Modified: gnucash/trunk/src/gnome-utils/gnc-date-format.h
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-date-format.h 2005-11-19 13:15:19 UTC (rev 11979)
+++ gnucash/trunk/src/gnome-utils/gnc-date-format.h 2005-11-19 23:07:12 UTC (rev 11980)
@@ -69,8 +69,6 @@
void gnc_date_format_set_custom (GNCDateFormat *gdf, const char *format);
const char* gnc_date_format_get_custom (GNCDateFormat *gdf);
-void gnc_date_format_editable_enters (GnomeDialog *dialog, GNCDateFormat *gdf);
-
void gnc_date_format_refresh (GNCDateFormat *gdf);
#endif
More information about the gnucash-changes
mailing list