b4n commented on this pull request.
> @@ -47,6 +47,7 @@ typedef enum
Yeah, and this enum isn't in the API either.
> @@ -156,6 +156,12 @@ static void create_signals(GObjectClass *g_object_class)
0, NULL, NULL, g_cclosure_marshal_VOID__VOID,
+ geany_object_signals[GDB_PROJECT_BEFORE_CLOSE] = g_signal_new (
+ G_OBJECT_CLASS_TYPE (g_object_class),
+ 0, NULL, NULL, g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
Wouldn't it be better if the signal received the `GeanyProject` as argument?
OK, it'd be inconsistent with the other project signals, so maybe it's a bad
idea. Or maybe it's a good idea to break one less thing in the future if we
want to allow more than one project to be open? That might not make much sense
because the other signals would have to be changed anyway, so meh.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: