[Gnucash-changes] Copied a function from elsewhere.

David Hampton hampton at cvs.gnucash.org
Sun Jun 5 03:40:25 EDT 2005


Log Message:
-----------
Copied a function from elsewhere. Currently ifdef'd out.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/gnome:
        gnc-plugin-register.c

Revision Data
-------------
Index: gnc-plugin-register.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome/Attic/gnc-plugin-register.c,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -Lsrc/gnome/gnc-plugin-register.c -Lsrc/gnome/gnc-plugin-register.c -u -r1.1.2.8 -r1.1.2.9
--- src/gnome/gnc-plugin-register.c
+++ src/gnome/gnc-plugin-register.c
@@ -202,6 +202,21 @@
 }
 
 #if 0
+/**
+ * Raise an existing register window to the front.
+ **/
+void
+gnc_register_raise (RegWindow *regData)
+{
+  if (regData == NULL)
+    return;
+
+  if (regData->window == NULL)
+    return;
+
+  gtk_window_present( GTK_WINDOW(regData->window) );
+}
+
 static void
 gnc_main_window_cmd_tools_general_ledger (GtkAction *action,
 					  GncMainWindow *window)


More information about the gnucash-changes mailing list