summaryrefslogtreecommitdiff
path: root/src/math-display.h
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-11-24 20:44:45 -0500
committerSteve Zesch <[email protected]>2012-11-24 20:44:45 -0500
commit6b24c91d3aa81fdb99500c8c2c12f830fabaefb6 (patch)
tree6a0038ecfaa77e156ee2cc9059220685091217d7 /src/math-display.h
parenta10375c2851e8569353c0da9921b8d0d9cbea2e6 (diff)
downloadmate-calc-6b24c91d3aa81fdb99500c8c2c12f830fabaefb6.tar.bz2
mate-calc-6b24c91d3aa81fdb99500c8c2c12f830fabaefb6.tar.xz
Update codebase.
Diffstat (limited to 'src/math-display.h')
-rw-r--r--src/math-display.h42
1 files changed, 19 insertions, 23 deletions
diff --git a/src/math-display.h b/src/math-display.h
index 0179f17..1f37bd1 100644
--- a/src/math-display.h
+++ b/src/math-display.h
@@ -1,19 +1,11 @@
-/* Copyright (c) 2008-2009 Robert Ancell
+/*
+ * Copyright (C) 2008-2011 Robert Ancell
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 2 of the License, or (at your option) any later
+ * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
+ * license.
*/
#ifndef MATH_DISPLAY_H
@@ -30,21 +22,25 @@ G_BEGIN_DECLS
typedef struct MathDisplayPrivate MathDisplayPrivate;
-typedef struct {
- GtkVBox parent_instance;
- MathDisplayPrivate* priv;
+typedef struct
+{
+ GtkViewport parent_instance;
+ MathDisplayPrivate *priv;
} MathDisplay;
-typedef struct {
- GtkVBoxClass parent_class;
+typedef struct
+{
+ GtkViewportClass parent_class;
} MathDisplayClass;
GType math_display_get_type(void);
-MathDisplay* math_display_new(void);
+MathDisplay *math_display_new(void);
+
+MathDisplay *math_display_new_with_equation(MathEquation *equation);
-MathDisplay* math_display_new_with_equation(MathEquation* equation);
+MathEquation *math_display_get_equation(MathDisplay *display);
-MathEquation* math_display_get_equation(MathDisplay* display);
+G_END_DECLS
#endif /* MATH_DISPLAY_H */