mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
gtk/gtkcellrenderercombo.h gtk/gtkcellrendererspin.h style cleanups for
2008-05-05 Michael Natterer <mitch@imendio.com> * gtk/gtkcellrenderercombo.h * gtk/gtkcellrendererspin.h * gtk/gtkfilechooserbutton.h: style cleanups for the sake of consistency. * gtk/gtkfilechooserdialog.h * gtk/gtkfilechooserwidget.h * gtk/gtkscalebutton.h: reorder instance and class structs to be in canonical order. svn path=/trunk/; revision=20074
This commit is contained in:
parent
91e82e7e9e
commit
80b99a7e99
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
||||
2008-05-05 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkcellrenderercombo.h
|
||||
* gtk/gtkcellrendererspin.h
|
||||
* gtk/gtkfilechooserbutton.h: style cleanups for the sake of
|
||||
consistency.
|
||||
|
||||
* gtk/gtkfilechooserdialog.h
|
||||
* gtk/gtkfilechooserwidget.h
|
||||
* gtk/gtkscalebutton.h: reorder instance and class structs to be
|
||||
in canonical order.
|
||||
|
||||
2008-05-04 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
|
||||
|
@ -17,7 +17,6 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GTK_CELL_RENDERER_COMBO_H__
|
||||
#define __GTK_CELL_RENDERER_COMBO_H__
|
||||
|
||||
@ -58,4 +57,4 @@ GtkCellRenderer *gtk_cell_renderer_combo_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
#endif /* __GTK_CELL_RENDERER_COMBO_H__ */
|
||||
|
@ -17,7 +17,6 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GTK_CELL_RENDERER_SPIN_H__
|
||||
#define __GTK_CELL_RENDERER_SPIN_H__
|
||||
|
||||
|
@ -26,20 +26,12 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define GTK_TYPE_FILE_CHOOSER_BUTTON \
|
||||
(gtk_file_chooser_button_get_type ())
|
||||
#define GTK_FILE_CHOOSER_BUTTON(object) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButton))
|
||||
#define GTK_FILE_CHOOSER_BUTTON_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButtonClass))
|
||||
#define GTK_IS_FILE_CHOOSER_BUTTON(object) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_FILE_CHOOSER_BUTTON))
|
||||
#define GTK_IS_FILE_CHOOSER_BUTTON_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FILE_CHOOSER_BUTTON))
|
||||
#define GTK_FILE_CHOOSER_BUTTON_GET_CLASS(object) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((object), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButtonClass))
|
||||
|
||||
#define GTK_TYPE_FILE_CHOOSER_BUTTON (gtk_file_chooser_button_get_type ())
|
||||
#define GTK_FILE_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButton))
|
||||
#define GTK_FILE_CHOOSER_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButtonClass))
|
||||
#define GTK_IS_FILE_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON))
|
||||
#define GTK_IS_FILE_CHOOSER_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FILE_CHOOSER_BUTTON))
|
||||
#define GTK_FILE_CHOOSER_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButtonClass))
|
||||
|
||||
typedef struct _GtkFileChooserButton GtkFileChooserButton;
|
||||
typedef struct _GtkFileChooserButtonPrivate GtkFileChooserButtonPrivate;
|
||||
|
@ -34,14 +34,8 @@ G_BEGIN_DECLS
|
||||
#define GTK_FILE_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialogClass))
|
||||
|
||||
typedef struct _GtkFileChooserDialog GtkFileChooserDialog;
|
||||
typedef struct _GtkFileChooserDialogClass GtkFileChooserDialogClass;
|
||||
|
||||
typedef struct _GtkFileChooserDialogPrivate GtkFileChooserDialogPrivate;
|
||||
|
||||
struct _GtkFileChooserDialogClass
|
||||
{
|
||||
GtkDialogClass parent_class;
|
||||
};
|
||||
typedef struct _GtkFileChooserDialogClass GtkFileChooserDialogClass;
|
||||
|
||||
struct _GtkFileChooserDialog
|
||||
{
|
||||
@ -50,6 +44,11 @@ struct _GtkFileChooserDialog
|
||||
GtkFileChooserDialogPrivate *priv;
|
||||
};
|
||||
|
||||
struct _GtkFileChooserDialogClass
|
||||
{
|
||||
GtkDialogClass parent_class;
|
||||
};
|
||||
|
||||
GType gtk_file_chooser_dialog_get_type (void) G_GNUC_CONST;
|
||||
GtkWidget *gtk_file_chooser_dialog_new (const gchar *title,
|
||||
GtkWindow *parent,
|
||||
|
@ -34,14 +34,8 @@ G_BEGIN_DECLS
|
||||
#define GTK_FILE_CHOOSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FILE_CHOOSER_WIDGET, GtkFileChooserWidgetClass))
|
||||
|
||||
typedef struct _GtkFileChooserWidget GtkFileChooserWidget;
|
||||
typedef struct _GtkFileChooserWidgetClass GtkFileChooserWidgetClass;
|
||||
|
||||
typedef struct _GtkFileChooserWidgetPrivate GtkFileChooserWidgetPrivate;
|
||||
|
||||
struct _GtkFileChooserWidgetClass
|
||||
{
|
||||
GtkVBoxClass parent_class;
|
||||
};
|
||||
typedef struct _GtkFileChooserWidgetClass GtkFileChooserWidgetClass;
|
||||
|
||||
struct _GtkFileChooserWidget
|
||||
{
|
||||
@ -50,6 +44,11 @@ struct _GtkFileChooserWidget
|
||||
GtkFileChooserWidgetPrivate *priv;
|
||||
};
|
||||
|
||||
struct _GtkFileChooserWidgetClass
|
||||
{
|
||||
GtkVBoxClass parent_class;
|
||||
};
|
||||
|
||||
GType gtk_file_chooser_widget_get_type (void) G_GNUC_CONST;
|
||||
GtkWidget *gtk_file_chooser_widget_new (GtkFileChooserAction action);
|
||||
GtkWidget *gtk_file_chooser_widget_new_with_backend (GtkFileChooserAction action,
|
||||
|
@ -51,20 +51,6 @@ typedef struct _GtkScaleButton GtkScaleButton;
|
||||
typedef struct _GtkScaleButtonClass GtkScaleButtonClass;
|
||||
typedef struct _GtkScaleButtonPrivate GtkScaleButtonPrivate;
|
||||
|
||||
struct _GtkScaleButtonClass
|
||||
{
|
||||
GtkButtonClass parent_class;
|
||||
|
||||
/* signals */
|
||||
void (* value_changed) (GtkScaleButton *button, gdouble value);
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
struct _GtkScaleButton
|
||||
{
|
||||
GtkButton parent;
|
||||
@ -76,6 +62,21 @@ struct _GtkScaleButton
|
||||
GtkScaleButtonPrivate *priv;
|
||||
};
|
||||
|
||||
struct _GtkScaleButtonClass
|
||||
{
|
||||
GtkButtonClass parent_class;
|
||||
|
||||
/* signals */
|
||||
void (* value_changed) (GtkScaleButton *button,
|
||||
gdouble value);
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
GType gtk_scale_button_get_type (void) G_GNUC_CONST;
|
||||
GtkWidget* gtk_scale_button_new (GtkIconSize size,
|
||||
gdouble min,
|
||||
@ -94,4 +95,3 @@ void gtk_scale_button_set_adjustment (GtkScaleButton *button,
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_SCALE_BUTTON_H__ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user