[Gnucash-changes] Remove unneeded functions now that the main window title is updated

David Hampton hampton at cvs.gnucash.org
Thu Jun 30 19:49:45 EDT 2005


Log Message:
-----------
Remove unneeded functions now that the main window title is updated
internally.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/gnome-utils:
        gnc-main-window.h
    gnucash/src/gnome:
        gw-gnc-spec.scm
    gnucash/src/scm:
        main.scm

Revision Data
-------------
Index: gnc-main-window.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome-utils/Attic/gnc-main-window.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -Lsrc/gnome-utils/gnc-main-window.h -Lsrc/gnome-utils/gnc-main-window.h -u -r1.1.2.1 -r1.1.2.2
--- src/gnome-utils/gnc-main-window.h
+++ src/gnome-utils/gnc-main-window.h
@@ -239,9 +239,6 @@
 						  const gchar *group_name);
 
 
-void gnc_main_window_update_title (GncMainWindow *window);
-
-
 /** Set the window where all progressbar updates should occur.  This
  *  is a wrapper around the gnc_window_set_progressbar_window()
  *  function.
Index: gw-gnc-spec.scm
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome/gw-gnc-spec.scm,v
retrieving revision 1.14.4.13
retrieving revision 1.14.4.14
diff -Lsrc/gnome/gw-gnc-spec.scm -Lsrc/gnome/gw-gnc-spec.scm -u -r1.14.4.13 -r1.14.4.14
--- src/gnome/gw-gnc-spec.scm
+++ src/gnome/gw-gnc-spec.scm
@@ -164,14 +164,6 @@
 
   (gw:wrap-function
    ws
-   'gnc:main-window-update-title
-   '<gw:void>
-   "gnc_main_window_update_title"
-   '((<gnc:MainWindow*> window))
-   "Update the window title based on whatever is loaded in the current session.")
-
-  (gw:wrap-function
-   ws
    'gnc:totd_dialog
    '<gw:void>
    "gnc_totd_dialog"
Index: main.scm
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/scm/main.scm,v
retrieving revision 1.109.2.20
retrieving revision 1.109.2.21
diff -Lsrc/scm/main.scm -Lsrc/scm/main.scm -u -r1.109.2.20 -r1.109.2.21
--- src/scm/main.scm
+++ src/scm/main.scm
@@ -639,7 +639,6 @@
                 (gnc:load-account-file)
                 ))
           ;; no matter how or what we loaded, ensure the main-window title is valid...
-          (gnc:main-window-update-title main-window)
           (gnc:hook-run-danglers gnc:*ui-post-startup-hook*)
           (gnc:start-ui-event-loop)
           (gnc:hook-remove-dangler gnc:*ui-shutdown-hook* gnc:gui-finish)))


More information about the gnucash-changes mailing list