summaryrefslogtreecommitdiff
path: root/src/gui/dialogs/about.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-08-23 21:36:25 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-08-23 21:36:25 (GMT)
commitc863d2d9093e7205107b5a6e56bd616c0703d4e4 (patch)
tree8b7cdd5a95cd79d143d87b98e2074f17e6fd53ee /src/gui/dialogs/about.h
parent370311f0a7176aa880dd0a15561c87a324fc111c (diff)
Restore an About dialog box.
Diffstat (limited to 'src/gui/dialogs/about.h')
-rw-r--r--src/gui/dialogs/about.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gui/dialogs/about.h b/src/gui/dialogs/about.h
index f119f67..e569ad3 100644
--- a/src/gui/dialogs/about.h
+++ b/src/gui/dialogs/about.h
@@ -2,7 +2,7 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
* about.h - prototypes pour la boîte de dialogue d'information sur le programme
*
- * Copyright (C) 2015-2020 Cyrille Bagard
+ * Copyright (C) 2015-2024 Cyrille Bagard
*
* This file is part of Chrysalide.
*
@@ -28,9 +28,17 @@
#include <gtk/gtk.h>
+#include "../../glibext/helpers.h"
+
+
+
+#define GTK_TYPE_APP_ABOUT_DIALOG (gtk_app_about_dialog_get_type())
+
+DECLARE_GTYPE(GtkAppAboutDialog, gtk_app_about_dialog, GTK, APP_ABOUT_DIALOG);
+
/* Construit la fenêtre d'informations sur le logiciel. */
-GtkWidget *create_about_dialog(GtkWindow *, GtkBuilder **);
+GtkWindow *gtk_app_about_dialog_new(GtkWindow *);