diff options
author | Steve Zesch <[email protected]> | 2012-11-24 20:47:50 -0500 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2012-11-24 20:47:50 -0500 |
commit | 3e4dfc47e7803d16d14ffe655f9568871c4f2339 (patch) | |
tree | dd7b9139791c854ce92ab5b2334e0894dded34b1 /src/math-window.h | |
parent | 6b24c91d3aa81fdb99500c8c2c12f830fabaefb6 (diff) | |
download | mate-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.h | 11 |
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); |