Repository navigation
Conversation
lukefromdc
reviewed
Sep 4, 2026
lukefromdc
left a comment
Member
There was a problem hiding this comment.
Trying to run a build of this from terminal, I got these warnings and the application window did not show up though the program continued to run rather than exiting or crashing:
50921$ mate-calc
(mate-calc:366463): GLib-GObject-CRITICAL **: 02:09:33.580: specified class size for type 'MathWindow' is smaller than the parent type's 'GtkApplicationWindow' class size
(mate-calc:366463): GLib-GObject-CRITICAL **: 02:09:33.580: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(mate-calc:366463): GLib-CRITICAL **: 02:09:33.580: g_once_init_leave_pointer: assertion 'result != 0' failed
(mate-calc:366463): GLib-GObject-CRITICAL **: 02:09:33.580: g_object_new_valist: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
** (mate-calc:366463): CRITICAL **: 02:09:33.580: math_window_get_buttons: assertion 'window != NULL' failed
(mate-calc:366463): GLib-GObject-CRITICAL **: 02:09:33.580: invalid (NULL) pointer instance
(mate-calc:366463): GLib-GObject-CRITICAL **: 02:09:33.580: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
** (mate-calc:366463): CRITICAL **: 02:09:33.580: math_window_set_show_history: assertion 'window != NULL' failed
** (mate-calc:366463): CRITICAL **: 02:09:33.580: math_buttons_set_programming_base: assertion 'buttons != NULL' failed
** (mate-calc:366463): CRITICAL **: 02:09:33.580: math_buttons_set_mode: assertion 'buttons != NULL' failed
(mate-calc:366463): Gtk-CRITICAL **: 02:09:33.580: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
vkareh
force-pushed
the
new-window-menu-item
branch
from
November 27, 2026 21:12
f198a2a to
cd6756c
Compare
Add multi-window support to the Calculator menu. A "New Window" item with Ctrl+N opens a fresh window with settings loaded from GSettings, reusing the existing application activate handler. A "Close" item with Ctrl+W closes only the current window. Quit (Ctrl+Q) now destroys all open windows to properly terminate the application. Fixes: #247 Assisted-by: OpenCode:claude-opus-4.6
vkareh
force-pushed
the
new-window-menu-item
branch
from
November 27, 2026 23:34
cd6756c to
9453a5b
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add multi-window support to the Calculator menu. A "New Window" item with Ctrl+N opens a fresh window with settings loaded from GSettings, reusing the existing application activate handler. A "Close" item with Ctrl+W closes only the current window. Quit (Ctrl+Q) now destroys all open windows to properly terminate the application.
Fixes: #247
Assisted-by: OpenCode:claude-opus-4.6