30 lines
603 B
C
30 lines
603 B
C
#include "ssb-profile.h"
|
|
|
|
struct _SsbProfile {
|
|
GtkGrid parent_instance;
|
|
};
|
|
|
|
G_DEFINE_TYPE(SsbProfile, ssb_profile, GTK_TYPE_GRID);
|
|
|
|
SsbProfile *
|
|
ssb_profile_new(void)
|
|
{
|
|
SsbProfile *profile = g_object_new(SSB_TYPE_PROFILE, NULL);
|
|
|
|
return profile;
|
|
}
|
|
|
|
static void
|
|
ssb_profile_init(SsbProfile *profile)
|
|
{
|
|
gtk_widget_init_template(GTK_WIDGET(profile));
|
|
}
|
|
|
|
static void
|
|
ssb_profile_class_init(SsbProfileClass *klass)
|
|
{
|
|
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS(klass);
|
|
|
|
gtk_widget_class_set_template_from_resource(widget_class, "/eu/polonkai/gergely/SsbGtk/ui/ssb-profile.ui");
|
|
}
|