summaryrefslogtreecommitdiff
path: root/src/math-window.h
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-11-24 20:47:50 -0500
committerSteve Zesch <[email protected]>2012-11-24 20:47:50 -0500
commit3e4dfc47e7803d16d14ffe655f9568871c4f2339 (patch)
treedd7b9139791c854ce92ab5b2334e0894dded34b1 /src/math-window.h
parent6b24c91d3aa81fdb99500c8c2c12f830fabaefb6 (diff)
downloadmate-calc-3e4dfc47e7803d16d14ffe655f9568871c4f2339.tar.bz2
mate-calc-3e4dfc47e7803d16d14ffe655f9568871c4f2339.tar.xz
GTK2 support. Menu fix. Code cleanups.
Diffstat (limited to 'src/math-window.h')
-rw-r--r--src/math-window.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/math-window.h b/src/math-window.h
index 22360fa..5575cf3 100644
--- a/src/math-window.h
+++ b/src/math-window.h
@@ -16,6 +16,7 @@
#include "math-equation.h"
#include "math-display.h"
#include "math-buttons.h"
+#include "math-preferences.h"
G_BEGIN_DECLS
@@ -25,20 +26,22 @@ typedef struct MathWindowPrivate MathWindowPrivate;
typedef struct
{
- GtkApplicationWindow parent_instance;
+ GtkWindow parent_instance;
MathWindowPrivate *priv;
} MathWindow;
typedef struct
{
- GtkApplicationWindowClass parent_class;
+ GtkWindowClass parent_class;
- void (*quit)(MathWindow *window);
+ void (*quit) (MathWindow *window);
} MathWindowClass;
GType math_window_get_type(void);
-MathWindow *math_window_new(GtkApplication *app, MathEquation *equation);
+MathWindow *math_window_new(MathEquation *equation);
+
+GtkWidget *math_window_get_menu_bar(MathWindow *window);
MathEquation *math_window_get_equation(MathWindow *window);