]> git.sur5r.net Git - glabels/blobdiff - src/label-properties-dialog.h
Use pre-2.44 GObject boilerplate in new glLabelPropertiesDialog.
[glabels] / src / label-properties-dialog.h
index 53c98ccf3d7819268808181f9b2c0be7820f880a..78a67cfb3912d205b1b7ffb43d0891bf5e4fcec1 100644 (file)
@@ -32,8 +32,34 @@ G_BEGIN_DECLS
 #define GL_RESPONSE_SELECT_OTHER 1
 
 #define GL_TYPE_LABEL_PROPERTIES_DIALOG (gl_label_properties_dialog_get_type ())
+#define GL_LABEL_PROPERTIES_DIALOG(obj) \
+        (G_TYPE_CHECK_INSTANCE_CAST ((obj), GL_TYPE_LABEL_PROPERTIES_DIALOG, glLabelPropertiesDialog))
+#define GL_LABEL_PROPERTIES_DIALOG_CLASS(klass) \
+        (G_TYPE_CHECK_CLASS_CAST ((klass), GL_TYPE_LABEL_PROPERTIES_DIALOG, glLabelPropertiesDialogClass))
+#define GL_IS_LABEL_PROPERTIES_DIALOG(obj) \
+        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GL_TYPE_LABEL_PROPERTIES_DIALOG))
+#define GL_IS_LABEL_PROPERTIES_DIALOG_CLASS(klass) \
+        (G_TYPE_CHECK_CLASS_TYPE ((klass), GL_TYPE_LABEL_PROPERTIES_DIALOG))
+#define GL_LABEL_PROPERTIES_DIALOG_GET_CLASS(obj) \
+        (G_TYPE_INSTANCE_GET_CLASS ((obj), GL_TYPE_LABEL_PROPERTIES_DIALOG, glLabelPropertiesDialogClass))
+
+typedef struct _glLabelPropertiesDialog         glLabelPropertiesDialog;
+typedef struct _glLabelPropertiesDialogClass    glLabelPropertiesDialogClass;
+
+typedef struct _glLabelPropertiesDialogPrivate  glLabelPropertiesDialogPrivate;
+
+struct _glLabelPropertiesDialog
+{
+       GtkDialog                       parent_instance;
+
+       glLabelPropertiesDialogPrivate *priv;
+};
+
+struct  _glLabelPropertiesDialogClass
+{
+       GtkDialogClass                  parent_class;
+};
 
-G_DECLARE_FINAL_TYPE (glLabelPropertiesDialog, gl_label_properties_dialog, GL, LABEL_PROPERTIES_DIALOG, GtkDialog)
 
 GtkWidget *gl_label_properties_dialog_new (glLabel *label, GtkWindow *parent);