Commit e44d4539 authored by Jon K Hellan's avatar Jon K Hellan Committed by Jon Kåre Hellan

Removed yet another vestige of the old Bonobo UI Handler code: Changed

2000-10-11  Jon K Hellan  <hellan@acm.org>

       * src/history.c (file_history_cmd): Removed yet another vestige of
       the old Bonobo UI Handler code: Changed `BonoboUIHandler *uih' to
       `BonoboUIComponent *uic.
parent 5965fe52
2000-10-11 Jon K Hellan <hellan@acm.org>
* src/history.c (file_history_cmd): Removed yet another vestige of
the old Bonobo UI Handler code: Changed `BonoboUIHandler *uih' to
`BonoboUIComponent *uic.
2000-10-11 Martin Baulig <baulig@suse.de>
Removed the last bits of the old Bonobo UI Handler code.
......
2000-10-11 Jon K Hellan <hellan@acm.org>
* src/history.c (file_history_cmd): Removed yet another vestige of
the old Bonobo UI Handler code: Changed `BonoboUIHandler *uih' to
`BonoboUIComponent *uic.
2000-10-11 Martin Baulig <baulig@suse.de>
Removed the last bits of the old Bonobo UI Handler code.
......
2000-10-11 Jon K Hellan <hellan@acm.org>
* src/history.c (file_history_cmd): Removed yet another vestige of
the old Bonobo UI Handler code: Changed `BonoboUIHandler *uih' to
`BonoboUIComponent *uic.
2000-10-11 Martin Baulig <baulig@suse.de>
Removed the last bits of the old Bonobo UI Handler code.
......
2000-10-11 Jon K Hellan <hellan@acm.org>
* src/history.c (file_history_cmd): Removed yet another vestige of
the old Bonobo UI Handler code: Changed `BonoboUIHandler *uih' to
`BonoboUIComponent *uic.
2000-10-11 Martin Baulig <baulig@suse.de>
Removed the last bits of the old Bonobo UI Handler code.
......
2000-10-11 Jon K Hellan <hellan@acm.org>
* src/history.c (file_history_cmd): Removed yet another vestige of
the old Bonobo UI Handler code: Changed `BonoboUIHandler *uih' to
`BonoboUIComponent *uic.
2000-10-11 Martin Baulig <baulig@suse.de>
Removed the last bits of the old Bonobo UI Handler code.
......
......@@ -43,14 +43,13 @@ file_history_cmd (GtkWidget *widget, Workbook *wb)
#else
static void
file_history_cmd (BonoboUIHandler *uih, Workbook *wb, const char *path)
file_history_cmd (BonoboUIComponent *uic, Workbook *wb, const char *path)
{
char *filename, *fullpath;
Workbook *new_wb;
fullpath = g_strdup_printf ("%s/%s", "/menu/File/FileHistory", path);
filename = bonobo_ui_component_get_prop (BONOBO_UI_COMPONENT (uih),
fullpath, "descr", NULL);
filename = bonobo_ui_component_get_prop (uic, fullpath, "descr", NULL);
g_free (fullpath);
new_wb = workbook_read (workbook_command_context_gui (wb), filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment