made a real object (GtkDialog subclass) out of it. The API will change
2001-09-20 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.[ch]: made a real object (GtkDialog subclass) out of it. The API will change soon too. * libgimpwidgets/gimpwidgetstypes.h: added GimpDialog typedef. * libgimpwidgets/gimpbutton.[ch] * libgimpwidgets/gimpchainbutton.[ch] * libgimpwidgets/gimpcolorarea.[ch] * libgimpwidgets/gimpcolorbutton.[ch] * libgimpwidgets/gimpfileselection.[ch] * libgimpwidgets/gimpoffsetarea.[ch] * libgimpwidgets/gimppatheditor.[ch] * libgimpwidgets/gimppixmap.c * libgimpwidgets/gimpsizeentry.c * libgimpwidgets/gimpunitmenu.c: removed GtkType stuff and use GType in all get_type() functions. Some random GObject porting. * app/gui/info-dialog.c * app/gui/info-window.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c: changed accordingly.
This commit is contained in:
committed by
Michael Natterer
parent
58afaec679
commit
cb474a0845
@ -41,6 +41,7 @@ extern "C" {
|
||||
#define GIMP_CHAIN_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_CHAIN_BUTTON, GimpChainButtonClass))
|
||||
#define GIMP_IS_CHAIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_CHAIN_BUTTON))
|
||||
#define GIMP_IS_CHAIN_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_CHAIN_BUTTON))
|
||||
#define GIMP_CHAIN_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_CHAIN_BUTTON, GimpChainButtonClass))
|
||||
|
||||
|
||||
typedef struct _GimpChainButtonClass GimpChainButtonClass;
|
||||
@ -56,7 +57,7 @@ typedef enum
|
||||
|
||||
struct _GimpChainButton
|
||||
{
|
||||
GtkTable table;
|
||||
GtkTable parent_instance;
|
||||
|
||||
GimpChainPosition position;
|
||||
GtkWidget *button;
|
||||
@ -72,14 +73,16 @@ struct _GimpChainButton
|
||||
|
||||
struct _GimpChainButtonClass
|
||||
{
|
||||
GtkTableClass parent_class;
|
||||
GtkTableClass parent_class;
|
||||
|
||||
void (* toggled) (GimpChainButton *gcb);
|
||||
};
|
||||
|
||||
|
||||
GtkType gimp_chain_button_get_type (void);
|
||||
GType gimp_chain_button_get_type (void);
|
||||
|
||||
GtkWidget * gimp_chain_button_new (GimpChainPosition position);
|
||||
|
||||
void gimp_chain_button_set_active (GimpChainButton *gcb,
|
||||
gboolean is_active);
|
||||
gboolean gimp_chain_button_get_active (GimpChainButton *gcb);
|
||||
|
||||
Reference in New Issue
Block a user