Commit 1de19c8b authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

libgimpwidgets: clean up class struct and add gtk-doc section comment

parent cc47b2a6
......@@ -29,6 +29,17 @@
#include "gimpunitstore.h"
/**
* SECTION: gimpunitcombobox
* @title: GimpUnitComboBox
* @short_description: A #GtkComboBox to select a #GimpUnit.
* @see_also: #GimpUnit, #GimpUnitStore
*
* #GimpUnitComboBox allows to select units stored in a #GimpUnitStore.
* It replaces the deprecated #GimpUnitMenu.
**/
static void gimp_unit_combo_box_style_set (GtkWidget *widget,
GtkStyle *prev_style);
......
......@@ -39,24 +39,24 @@ G_BEGIN_DECLS
typedef struct _GimpUnitComboBoxClass GimpUnitComboBoxClass;
struct _GimpUnitComboBoxClass
struct _GimpUnitComboBox
{
GtkComboBoxClass parent_instance;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
GtkComboBox parent_instance;
};
struct _GimpUnitComboBox
struct _GimpUnitComboBoxClass
{
GtkComboBox parent_instance;
GtkComboBoxClass parent_class;
/* Padding for future expansion */
void (*_gimp_reserved1) (void);
void (*_gimp_reserved2) (void);
void (*_gimp_reserved3) (void);
void (*_gimp_reserved4) (void);
};
GType gimp_unit_combo_box_get_type (void) G_GNUC_CONST;
GType gimp_unit_combo_box_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_unit_combo_box_new (void);
GtkWidget * gimp_unit_combo_box_new_with_model (GimpUnitStore *model);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment