20 lines
507 B
C
20 lines
507 B
C
#include "about_dialog.h"
|
|
|
|
struct _AboutDialog {
|
|
GtkMenuBarClass parent_class;
|
|
};
|
|
|
|
G_DEFINE_TYPE(AboutDialog, about_dialog, GTK_TYPE_ABOUT_DIALOG);
|
|
|
|
static void about_dialog_init(AboutDialog *self) {
|
|
gtk_widget_init_template(GTK_WIDGET(self));
|
|
}
|
|
|
|
static void about_dialog_class_init(AboutDialogClass *class) {
|
|
gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS(class), RESOURCE_PREFIX "ui/about_dialog.ui");
|
|
}
|
|
|
|
AboutDialog *about_dialog_new() {
|
|
return g_object_new(ABOUT_DIALOG_TYPE, NULL);
|
|
}
|