mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Chase the API changes in goffice-0.7.6.
This commit is contained in:
parent
3538ad6567
commit
3b5c05f9c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233635
@ -1,5 +1,5 @@
|
||||
--- programs/calc/gchemcalc.cc.orig 2009-01-05 14:09:59.000000000 -0500
|
||||
+++ programs/calc/gchemcalc.cc 2009-05-05 01:04:35.000000000 -0400
|
||||
+++ programs/calc/gchemcalc.cc 2009-05-10 15:08:02.000000000 -0400
|
||||
@@ -56,11 +56,11 @@
|
||||
#include <goffice/gtk/goffice-gtk.h>
|
||||
#include <goffice/graph/gog-axis.h>
|
||||
@ -15,7 +15,16 @@
|
||||
#include <goffice/utils/go-locale.h>
|
||||
#include <goffice/utils/go-image.h>
|
||||
#include <goffice/utils/go-line.h>
|
||||
@@ -736,7 +736,7 @@
|
||||
@@ -512,7 +512,7 @@ static void on_get_data (GtkClipboard *c
|
||||
go_locale_untranslated_booleans ();
|
||||
|
||||
xout = gsf_xml_out_new (output);
|
||||
- gog_object_write_xml_sax (GOG_OBJECT (graph), xout);
|
||||
+ gog_object_write_xml_sax (GOG_OBJECT (graph), xout, NULL);
|
||||
g_object_unref (xout);
|
||||
|
||||
/* go_setlocale restores bools to locale translation */
|
||||
@@ -736,7 +736,7 @@ int main (int argc, char *argv[])
|
||||
App = new GChemCalc ();
|
||||
|
||||
/* Initialize plugins manager */
|
||||
@ -24,7 +33,7 @@
|
||||
|
||||
GladeXML *xml = glade_xml_new (GLADEDIR"/gchemcalc.glade", "gchemcalc", NULL);
|
||||
App->window = GTK_WINDOW (glade_xml_get_widget (xml, "gchemcalc"));
|
||||
@@ -808,7 +808,7 @@
|
||||
@@ -808,7 +808,7 @@ int main (int argc, char *argv[])
|
||||
// Create a series for the plot and populate it with some simple data
|
||||
App->series = gog_plot_new_series (App->plot);
|
||||
gog_object_add_by_name (GOG_OBJECT (App->series), "Vertical drop lines", NULL);
|
||||
|
11
science/gchemutils/files/patch-programs_spectra_window.cc
Normal file
11
science/gchemutils/files/patch-programs_spectra_window.cc
Normal file
@ -0,0 +1,11 @@
|
||||
--- programs/spectra/window.cc.orig 2009-05-10 15:08:58.000000000 -0400
|
||||
+++ programs/spectra/window.cc 2009-05-10 15:09:03.000000000 -0400
|
||||
@@ -320,7 +320,7 @@ static void on_get_data (GtkClipboard *c
|
||||
go_locale_untranslated_booleans ();
|
||||
|
||||
xout = gsf_xml_out_new (output);
|
||||
- gog_object_write_xml_sax (GOG_OBJECT (graph), xout);
|
||||
+ gog_object_write_xml_sax (GOG_OBJECT (graph), xout, NULL);
|
||||
g_object_unref (xout);
|
||||
|
||||
/* go_setlocale restores bools to locale translation */
|
@ -1,5 +1,5 @@
|
||||
--- programs/table/gchemtable-curve.cc.orig 2009-01-05 14:10:00.000000000 -0500
|
||||
+++ programs/table/gchemtable-curve.cc 2009-05-05 01:11:15.000000000 -0400
|
||||
+++ programs/table/gchemtable-curve.cc 2009-05-10 15:08:23.000000000 -0400
|
||||
@@ -37,11 +37,9 @@
|
||||
#include <goffice/graph/gog-data-set.h>
|
||||
#include <goffice/graph/gog-guru.h>
|
||||
@ -13,6 +13,15 @@
|
||||
#include <goffice/math/go-math.h>
|
||||
#include <goffice/utils/go-locale.h>
|
||||
#include <goffice/utils/go-line.h>
|
||||
@@ -95,7 +93,7 @@ static void on_get_data (GtkClipboard *c
|
||||
go_locale_untranslated_booleans ();
|
||||
|
||||
xout = gsf_xml_out_new (output);
|
||||
- gog_object_write_xml_sax (GOG_OBJECT (graph), xout);
|
||||
+ gog_object_write_xml_sax (GOG_OBJECT (graph), xout, NULL);
|
||||
g_object_unref (xout);
|
||||
|
||||
/* go_setlocale restores bools to locale translation */
|
||||
@@ -332,7 +330,7 @@ GChemTableCurve::GChemTableCurve (GChemT
|
||||
obj = gog_object_get_child_by_role (GOG_OBJECT (chart),
|
||||
gog_object_find_role_by_name (GOG_OBJECT (chart), "Y-Axis"));
|
||||
|
Loading…
Reference in New Issue
Block a user