forked from AuroraMiddleware/gtk
More of the same
This commit is contained in:
parent
1ad9d62428
commit
113f364a37
@ -1,5 +1,6 @@
|
||||
2006-05-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/*.c:
|
||||
* gdk-pixbuf/*.c:
|
||||
* gdk/*.c: Remove erroneous ; after G_DEFINE_TYPE
|
||||
macros. (#341692, Yevgen Muntyan)
|
||||
|
@ -1,5 +1,6 @@
|
||||
2006-05-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/*.c:
|
||||
* gdk-pixbuf/*.c:
|
||||
* gdk/*.c: Remove erroneous ; after G_DEFINE_TYPE
|
||||
macros. (#341692, Yevgen Muntyan)
|
||||
|
@ -66,7 +66,7 @@ typedef struct
|
||||
gboolean needs_scale;
|
||||
} GdkPixbufLoaderPrivate;
|
||||
|
||||
G_DEFINE_TYPE(GdkPixbufLoader, gdk_pixbuf_loader, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GdkPixbufLoader, gdk_pixbuf_loader, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
||||
|
@ -109,7 +109,7 @@ static GdkPixbufAnimationIter *get_iter (GdkPixbufAnimation *anim,
|
||||
const GTimeVal *start_time);
|
||||
|
||||
|
||||
G_DEFINE_TYPE(GdkPixbufSimpleAnim, gdk_pixbuf_simple_anim, GDK_TYPE_PIXBUF_ANIMATION);
|
||||
G_DEFINE_TYPE (GdkPixbufSimpleAnim, gdk_pixbuf_simple_anim, GDK_TYPE_PIXBUF_ANIMATION)
|
||||
|
||||
static void
|
||||
gdk_pixbuf_simple_anim_init (GdkPixbufSimpleAnim *anim)
|
||||
@ -234,7 +234,7 @@ static gboolean on_currently_loading_frame (GdkPixbufAnimationIter *iter);
|
||||
static gboolean advance (GdkPixbufAnimationIter *iter,
|
||||
const GTimeVal *current_time);
|
||||
|
||||
G_DEFINE_TYPE (GdkPixbufSimpleAnimIter, gdk_pixbuf_simple_anim_iter, GDK_TYPE_PIXBUF_ANIMATION_ITER);
|
||||
G_DEFINE_TYPE (GdkPixbufSimpleAnimIter, gdk_pixbuf_simple_anim_iter, GDK_TYPE_PIXBUF_ANIMATION_ITER)
|
||||
|
||||
static void
|
||||
gdk_pixbuf_simple_anim_iter_init (GdkPixbufSimpleAnimIter *iter)
|
||||
|
@ -56,7 +56,7 @@ enum
|
||||
PROP_PIXELS
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE(GdkPixbuf, gdk_pixbuf, G_TYPE_OBJECT)
|
||||
G_DEFINE_TYPE (GdkPixbuf, gdk_pixbuf, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gdk_pixbuf_init (GdkPixbuf *pixbuf)
|
||||
|
@ -172,7 +172,7 @@ static GtkAboutDialogActivateLinkFunc activate_url_hook = NULL;
|
||||
static gpointer activate_url_hook_data = NULL;
|
||||
static GDestroyNotify activate_url_hook_destroy = NULL;
|
||||
|
||||
G_DEFINE_TYPE (GtkAboutDialog, gtk_about_dialog, GTK_TYPE_DIALOG);
|
||||
G_DEFINE_TYPE (GtkAboutDialog, gtk_about_dialog, GTK_TYPE_DIALOG)
|
||||
|
||||
static void
|
||||
gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
|
||||
|
@ -54,7 +54,7 @@ static guint default_accel_mod_mask = (GDK_SHIFT_MASK |
|
||||
GDK_META_MASK);
|
||||
|
||||
|
||||
G_DEFINE_TYPE (GtkAccelGroup, gtk_accel_group, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkAccelGroup, gtk_accel_group, G_TYPE_OBJECT)
|
||||
|
||||
/* --- functions --- */
|
||||
static void
|
||||
|
@ -60,7 +60,7 @@ static gboolean gtk_accel_label_expose_event (GtkWidget *widget,
|
||||
static const gchar *gtk_accel_label_get_string (GtkAccelLabel *accel_label);
|
||||
|
||||
|
||||
G_DEFINE_TYPE (GtkAccelLabel, gtk_accel_label, GTK_TYPE_LABEL);
|
||||
G_DEFINE_TYPE (GtkAccelLabel, gtk_accel_label, GTK_TYPE_LABEL)
|
||||
|
||||
static void
|
||||
gtk_accel_label_class_init (GtkAccelLabelClass *class)
|
||||
|
@ -931,7 +931,7 @@ gtk_accel_map_unlock_path (const gchar *accel_path)
|
||||
entry->lock_count -= 1;
|
||||
}
|
||||
|
||||
G_DEFINE_TYPE (GtkAccelMap, gtk_accel_map, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkAccelMap, gtk_accel_map, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gtk_accel_map_class_init (GtkAccelMapClass *accel_map_class)
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
static void gtk_accessible_real_connect_widget_destroyed (GtkAccessible *accessible);
|
||||
|
||||
G_DEFINE_TYPE (GtkAccessible, gtk_accessible, ATK_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkAccessible, gtk_accessible, ATK_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gtk_accessible_init (GtkAccessible *object)
|
||||
|
@ -112,7 +112,7 @@ static GQuark quark_gtk_action_proxy = 0;
|
||||
static const gchar accel_path_key[] = "GtkAction::accel_path";
|
||||
static const gchar gtk_action_proxy_key[] = "gtk-action";
|
||||
|
||||
G_DEFINE_TYPE (GtkAction, gtk_action, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkAction, gtk_action, G_TYPE_OBJECT)
|
||||
|
||||
static void gtk_action_finalize (GObject *object);
|
||||
static void gtk_action_set_property (GObject *object,
|
||||
|
@ -60,7 +60,7 @@ static void gtk_adjustment_set_property (GObject *object,
|
||||
|
||||
static guint adjustment_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkAdjustment, gtk_adjustment, GTK_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkAdjustment, gtk_adjustment, GTK_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gtk_adjustment_class_init (GtkAdjustmentClass *class)
|
||||
|
@ -69,7 +69,7 @@ static void gtk_alignment_get_property (GObject *object,
|
||||
GValue *value,
|
||||
GParamSpec *pspec);
|
||||
|
||||
G_DEFINE_TYPE (GtkAlignment, gtk_alignment, GTK_TYPE_BIN);
|
||||
G_DEFINE_TYPE (GtkAlignment, gtk_alignment, GTK_TYPE_BIN)
|
||||
|
||||
static void
|
||||
gtk_alignment_class_init (GtkAlignmentClass *class)
|
||||
|
@ -55,7 +55,7 @@ static void gtk_arrow_get_property (GObject *object,
|
||||
GParamSpec *pspec);
|
||||
|
||||
|
||||
G_DEFINE_TYPE (GtkArrow, gtk_arrow, GTK_TYPE_MISC);
|
||||
G_DEFINE_TYPE (GtkArrow, gtk_arrow, GTK_TYPE_MISC)
|
||||
|
||||
|
||||
static void
|
||||
|
@ -57,7 +57,7 @@ static void gtk_aspect_frame_compute_child_allocation (GtkFrame *fram
|
||||
#define MAX_RATIO 10000.0
|
||||
#define MIN_RATIO 0.0001
|
||||
|
||||
G_DEFINE_TYPE (GtkAspectFrame, gtk_aspect_frame, GTK_TYPE_FRAME);
|
||||
G_DEFINE_TYPE (GtkAspectFrame, gtk_aspect_frame, GTK_TYPE_FRAME)
|
||||
|
||||
static void
|
||||
gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
|
||||
|
@ -136,7 +136,7 @@ enum
|
||||
static guint signals [LAST_SIGNAL] = { 0 };
|
||||
|
||||
|
||||
G_DEFINE_TYPE (GtkAssistant, gtk_assistant, GTK_TYPE_WINDOW);
|
||||
G_DEFINE_TYPE (GtkAssistant, gtk_assistant, GTK_TYPE_WINDOW)
|
||||
|
||||
|
||||
static void
|
||||
|
@ -65,7 +65,7 @@ static void gtk_button_box_get_child_property (GtkContainer *container,
|
||||
#define DEFAULT_CHILD_IPAD_X 4
|
||||
#define DEFAULT_CHILD_IPAD_Y 0
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkButtonBox, gtk_button_box, GTK_TYPE_BOX);
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkButtonBox, gtk_button_box, GTK_TYPE_BOX)
|
||||
|
||||
static void
|
||||
gtk_button_box_class_init (GtkButtonBoxClass *class)
|
||||
|
@ -40,7 +40,7 @@ static void gtk_bin_forall (GtkContainer *container,
|
||||
static GType gtk_bin_child_type (GtkContainer *container);
|
||||
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkBin, gtk_bin, GTK_TYPE_CONTAINER);
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkBin, gtk_bin, GTK_TYPE_CONTAINER)
|
||||
|
||||
static void
|
||||
gtk_bin_class_init (GtkBinClass *class)
|
||||
|
@ -74,7 +74,7 @@ static void gtk_box_get_child_property (GtkContainer *container,
|
||||
static GType gtk_box_child_type (GtkContainer *container);
|
||||
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkBox, gtk_box, GTK_TYPE_CONTAINER);
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkBox, gtk_box, GTK_TYPE_CONTAINER)
|
||||
|
||||
static void
|
||||
gtk_box_class_init (GtkBoxClass *class)
|
||||
|
@ -139,7 +139,7 @@ static void gtk_button_grab_notify (GtkWidget *widget,
|
||||
|
||||
static guint button_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkButton, gtk_button, GTK_TYPE_BIN);
|
||||
G_DEFINE_TYPE (GtkButton, gtk_button, GTK_TYPE_BIN)
|
||||
|
||||
static void
|
||||
gtk_button_class_init (GtkButtonClass *klass)
|
||||
|
@ -73,7 +73,7 @@ enum {
|
||||
|
||||
static guint cell_renderer_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkCellRenderer, gtk_cell_renderer, GTK_TYPE_OBJECT);
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkCellRenderer, gtk_cell_renderer, GTK_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gtk_cell_renderer_init (GtkCellRenderer *cell)
|
||||
|
@ -70,7 +70,7 @@ enum {
|
||||
|
||||
static guint signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkCellRendererAccel, gtk_cell_renderer_accel, GTK_TYPE_CELL_RENDERER_TEXT);
|
||||
G_DEFINE_TYPE (GtkCellRendererAccel, gtk_cell_renderer_accel, GTK_TYPE_CELL_RENDERER_TEXT)
|
||||
|
||||
static void
|
||||
gtk_cell_renderer_accel_init (GtkCellRendererAccel *cell_accel)
|
||||
|
@ -61,7 +61,7 @@ enum {
|
||||
|
||||
#define GTK_CELL_RENDERER_COMBO_PATH "gtk-cell-renderer-combo-path"
|
||||
|
||||
G_DEFINE_TYPE (GtkCellRendererCombo, gtk_cell_renderer_combo, GTK_TYPE_CELL_RENDERER_TEXT);
|
||||
G_DEFINE_TYPE (GtkCellRendererCombo, gtk_cell_renderer_combo, GTK_TYPE_CELL_RENDERER_TEXT)
|
||||
|
||||
static void
|
||||
gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
|
||||
|
@ -81,7 +81,7 @@ struct _GtkCellRendererPixbufPrivate
|
||||
gchar *icon_name;
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkCellRendererPixbuf, gtk_cell_renderer_pixbuf, GTK_TYPE_CELL_RENDERER);
|
||||
G_DEFINE_TYPE (GtkCellRendererPixbuf, gtk_cell_renderer_pixbuf, GTK_TYPE_CELL_RENDERER)
|
||||
|
||||
static void
|
||||
gtk_cell_renderer_pixbuf_init (GtkCellRendererPixbuf *cellpixbuf)
|
||||
|
@ -87,7 +87,7 @@ static void gtk_cell_renderer_progress_render (GtkCellRenderer *ce
|
||||
guint flags);
|
||||
|
||||
|
||||
G_DEFINE_TYPE (GtkCellRendererProgress, gtk_cell_renderer_progress, GTK_TYPE_CELL_RENDERER);
|
||||
G_DEFINE_TYPE (GtkCellRendererProgress, gtk_cell_renderer_progress, GTK_TYPE_CELL_RENDERER)
|
||||
|
||||
static void
|
||||
gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *klass)
|
||||
|
@ -64,7 +64,7 @@ enum {
|
||||
|
||||
#define GTK_CELL_RENDERER_SPIN_PATH "gtk-cell-renderer-spin-path"
|
||||
|
||||
G_DEFINE_TYPE (GtkCellRendererSpin, gtk_cell_renderer_spin, GTK_TYPE_CELL_RENDERER_TEXT);
|
||||
G_DEFINE_TYPE (GtkCellRendererSpin, gtk_cell_renderer_spin, GTK_TYPE_CELL_RENDERER_TEXT)
|
||||
|
||||
|
||||
static void
|
||||
|
@ -148,7 +148,7 @@ struct _GtkCellRendererTextPrivate
|
||||
GtkWidget *entry;
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkCellRendererText, gtk_cell_renderer_text, GTK_TYPE_CELL_RENDERER);
|
||||
G_DEFINE_TYPE (GtkCellRendererText, gtk_cell_renderer_text, GTK_TYPE_CELL_RENDERER)
|
||||
|
||||
static void
|
||||
gtk_cell_renderer_text_init (GtkCellRendererText *celltext)
|
||||
|
@ -86,7 +86,7 @@ struct _GtkCellRendererTogglePrivate
|
||||
};
|
||||
|
||||
|
||||
G_DEFINE_TYPE (GtkCellRendererToggle, gtk_cell_renderer_toggle, GTK_TYPE_CELL_RENDERER);
|
||||
G_DEFINE_TYPE (GtkCellRendererToggle, gtk_cell_renderer_toggle, GTK_TYPE_CELL_RENDERER)
|
||||
|
||||
static void
|
||||
gtk_cell_renderer_toggle_init (GtkCellRendererToggle *celltoggle)
|
||||
|
@ -119,7 +119,7 @@ enum
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GtkCellView, gtk_cell_view, GTK_TYPE_WIDGET,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_CELL_LAYOUT,
|
||||
gtk_cell_view_cell_layout_init));
|
||||
gtk_cell_view_cell_layout_init))
|
||||
|
||||
static void
|
||||
gtk_cell_view_class_init (GtkCellViewClass *klass)
|
||||
|
@ -49,7 +49,7 @@ static void gtk_check_button_draw_indicator (GtkCheckButton *check_but
|
||||
static void gtk_real_check_button_draw_indicator (GtkCheckButton *check_button,
|
||||
GdkRectangle *area);
|
||||
|
||||
G_DEFINE_TYPE (GtkCheckButton, gtk_check_button, GTK_TYPE_TOGGLE_BUTTON);
|
||||
G_DEFINE_TYPE (GtkCheckButton, gtk_check_button, GTK_TYPE_TOGGLE_BUTTON)
|
||||
|
||||
static void
|
||||
gtk_check_button_class_init (GtkCheckButtonClass *class)
|
||||
|
@ -65,7 +65,7 @@ static void gtk_check_menu_item_get_property (GObject *object,
|
||||
|
||||
static guint check_menu_item_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkCheckMenuItem, gtk_check_menu_item, GTK_TYPE_MENU_ITEM);
|
||||
G_DEFINE_TYPE (GtkCheckMenuItem, gtk_check_menu_item, GTK_TYPE_MENU_ITEM)
|
||||
|
||||
static void
|
||||
gtk_check_menu_item_class_init (GtkCheckMenuItemClass *klass)
|
||||
|
@ -151,7 +151,7 @@ static GQuark clipboards_owned_key_id = 0;
|
||||
|
||||
static guint clipboard_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkClipboard, gtk_clipboard, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkClipboard, gtk_clipboard, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gtk_clipboard_init (GtkClipboard *object)
|
||||
|
@ -135,7 +135,7 @@ static guint color_button_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
static const GtkTargetEntry drop_types[] = { { "application/x-color", 0, 0 } };
|
||||
|
||||
G_DEFINE_TYPE (GtkColorButton, gtk_color_button, GTK_TYPE_BUTTON);
|
||||
G_DEFINE_TYPE (GtkColorButton, gtk_color_button, GTK_TYPE_BUTTON)
|
||||
|
||||
static void
|
||||
gtk_color_button_class_init (GtkColorButtonClass *klass)
|
||||
|
@ -1809,7 +1809,7 @@ default_change_palette_func (GdkScreen *screen,
|
||||
g_free (str);
|
||||
}
|
||||
|
||||
G_DEFINE_TYPE (GtkColorSelection, gtk_color_selection, GTK_TYPE_VBOX);
|
||||
G_DEFINE_TYPE (GtkColorSelection, gtk_color_selection, GTK_TYPE_VBOX)
|
||||
|
||||
static void
|
||||
gtk_color_selection_class_init (GtkColorSelectionClass *klass)
|
||||
|
@ -38,7 +38,7 @@
|
||||
/* GtkColorSelectionDialog */
|
||||
/***************************/
|
||||
|
||||
G_DEFINE_TYPE (GtkColorSelectionDialog, gtk_color_selection_dialog, GTK_TYPE_DIALOG);
|
||||
G_DEFINE_TYPE (GtkColorSelectionDialog, gtk_color_selection_dialog, GTK_TYPE_DIALOG)
|
||||
|
||||
static void
|
||||
gtk_color_selection_dialog_class_init (GtkColorSelectionDialogClass *klass)
|
||||
|
@ -121,7 +121,7 @@ static void gtk_combo_get_property (GObject *object,
|
||||
GValue *value,
|
||||
GParamSpec *pspec);
|
||||
|
||||
G_DEFINE_TYPE (GtkCombo, gtk_combo, GTK_TYPE_HBOX);
|
||||
G_DEFINE_TYPE (GtkCombo, gtk_combo, GTK_TYPE_HBOX)
|
||||
|
||||
static void
|
||||
gtk_combo_class_init (GtkComboClass * klass)
|
||||
|
@ -439,7 +439,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkComboBox, gtk_combo_box, GTK_TYPE_BIN,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_CELL_LAYOUT,
|
||||
gtk_combo_box_cell_layout_init)
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_CELL_EDITABLE,
|
||||
gtk_combo_box_cell_editable_init));
|
||||
gtk_combo_box_cell_editable_init))
|
||||
|
||||
/* common */
|
||||
static void
|
||||
|
@ -65,7 +65,7 @@ enum
|
||||
PROP_TEXT_COLUMN
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkComboBoxEntry, gtk_combo_box_entry, GTK_TYPE_COMBO_BOX);
|
||||
G_DEFINE_TYPE (GtkComboBoxEntry, gtk_combo_box_entry, GTK_TYPE_COMBO_BOX)
|
||||
|
||||
static void
|
||||
gtk_combo_box_entry_class_init (GtkComboBoxEntryClass *klass)
|
||||
|
@ -90,7 +90,7 @@ enum {
|
||||
|
||||
static guint dialog_signals[LAST_SIGNAL];
|
||||
|
||||
G_DEFINE_TYPE (GtkDialog, gtk_dialog, GTK_TYPE_WINDOW);
|
||||
G_DEFINE_TYPE (GtkDialog, gtk_dialog, GTK_TYPE_WINDOW)
|
||||
|
||||
static void
|
||||
gtk_dialog_class_init (GtkDialogClass *class)
|
||||
|
@ -35,7 +35,7 @@ static void gtk_drawing_area_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation *allocation);
|
||||
static void gtk_drawing_area_send_configure (GtkDrawingArea *darea);
|
||||
|
||||
G_DEFINE_TYPE (GtkDrawingArea, gtk_drawing_area, GTK_TYPE_WIDGET);
|
||||
G_DEFINE_TYPE (GtkDrawingArea, gtk_drawing_area, GTK_TYPE_WIDGET)
|
||||
|
||||
static void
|
||||
gtk_drawing_area_class_init (GtkDrawingAreaClass *class)
|
||||
|
@ -375,7 +375,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkEntry, gtk_entry, GTK_TYPE_WIDGET,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_EDITABLE,
|
||||
gtk_entry_editable_init)
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_CELL_EDITABLE,
|
||||
gtk_entry_cell_editable_init));
|
||||
gtk_entry_cell_editable_init))
|
||||
|
||||
static void
|
||||
add_move_binding (GtkBindingSet *binding_set,
|
||||
|
@ -141,7 +141,7 @@ static guint entry_completion_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GtkEntryCompletion, gtk_entry_completion, G_TYPE_OBJECT,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_CELL_LAYOUT,
|
||||
gtk_entry_completion_cell_layout_init));
|
||||
gtk_entry_completion_cell_layout_init))
|
||||
|
||||
static void
|
||||
gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
|
||||
|
@ -66,7 +66,7 @@ static void gtk_event_box_get_property (GObject *object,
|
||||
GValue *value,
|
||||
GParamSpec *pspec);
|
||||
|
||||
G_DEFINE_TYPE (GtkEventBox, gtk_event_box, GTK_TYPE_BIN);
|
||||
G_DEFINE_TYPE (GtkEventBox, gtk_event_box, GTK_TYPE_BIN)
|
||||
|
||||
static void
|
||||
gtk_event_box_class_init (GtkEventBoxClass *class)
|
||||
|
@ -126,7 +126,7 @@ static void gtk_expander_activate (GtkExpander *expander);
|
||||
static void get_expander_bounds (GtkExpander *expander,
|
||||
GdkRectangle *rect);
|
||||
|
||||
G_DEFINE_TYPE (GtkExpander, gtk_expander, GTK_TYPE_BIN);
|
||||
G_DEFINE_TYPE (GtkExpander, gtk_expander, GTK_TYPE_BIN)
|
||||
|
||||
static void
|
||||
gtk_expander_class_init (GtkExpanderClass *klass)
|
||||
|
@ -308,7 +308,7 @@ static void dialog_response_cb (GtkDialog *dialog,
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GtkFileChooserButton, gtk_file_chooser_button, GTK_TYPE_HBOX, { \
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_FILE_CHOOSER, gtk_file_chooser_button_file_chooser_iface_init) \
|
||||
});
|
||||
})
|
||||
|
||||
|
||||
/* ***************** *
|
||||
|
@ -440,7 +440,7 @@ G_DEFINE_TYPE_WITH_CODE (ShortcutsModelFilter,
|
||||
_shortcuts_model_filter,
|
||||
GTK_TYPE_TREE_MODEL_FILTER,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_DRAG_SOURCE,
|
||||
shortcuts_model_filter_drag_source_iface_init));
|
||||
shortcuts_model_filter_drag_source_iface_init))
|
||||
|
||||
static GtkTreeModel *shortcuts_model_filter_new (GtkFileChooserDefault *impl,
|
||||
GtkTreeModel *child_model,
|
||||
|
@ -57,7 +57,7 @@ static void response_cb (GtkDialog *dialog,
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GtkFileChooserDialog, gtk_file_chooser_dialog, GTK_TYPE_DIALOG,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_FILE_CHOOSER,
|
||||
_gtk_file_chooser_delegate_iface_init));
|
||||
_gtk_file_chooser_delegate_iface_init))
|
||||
|
||||
static void
|
||||
gtk_file_chooser_dialog_class_init (GtkFileChooserDialogClass *class)
|
||||
|
@ -108,7 +108,7 @@ static GtkEditableClass *parent_editable_iface;
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GtkFileChooserEntry, _gtk_file_chooser_entry, GTK_TYPE_ENTRY,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_EDITABLE,
|
||||
gtk_file_chooser_entry_iface_init));
|
||||
gtk_file_chooser_entry_iface_init))
|
||||
|
||||
static void
|
||||
_gtk_file_chooser_entry_class_init (GtkFileChooserEntryClass *class)
|
||||
|
@ -407,9 +407,7 @@ ensure_settings_read (GtkFileChooserSettings *settings)
|
||||
settings->settings_read = TRUE;
|
||||
}
|
||||
|
||||
G_DEFINE_TYPE (GtkFileChooserSettings,
|
||||
_gtk_file_chooser_settings,
|
||||
G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkFileChooserSettings, _gtk_file_chooser_settings, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
_gtk_file_chooser_settings_class_init (GtkFileChooserSettingsClass *class)
|
||||
|
@ -49,7 +49,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkFileChooserWidget, gtk_file_chooser_widget, GTK_TYPE
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_FILE_CHOOSER,
|
||||
_gtk_file_chooser_delegate_iface_init)
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_FILE_CHOOSER_EMBED,
|
||||
_gtk_file_chooser_embed_delegate_iface_init));
|
||||
_gtk_file_chooser_embed_delegate_iface_init))
|
||||
|
||||
static void
|
||||
gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
|
||||
|
@ -82,7 +82,7 @@ struct _FilterRule
|
||||
static void gtk_file_filter_finalize (GObject *object);
|
||||
|
||||
|
||||
G_DEFINE_TYPE (GtkFileFilter, gtk_file_filter, GTK_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkFileFilter, gtk_file_filter, GTK_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gtk_file_filter_init (GtkFileFilter *object)
|
||||
|
@ -503,7 +503,7 @@ translate_win32_path (GtkFileSelection *filesel)
|
||||
}
|
||||
#endif
|
||||
|
||||
G_DEFINE_TYPE (GtkFileSelection, gtk_file_selection, GTK_TYPE_DIALOG);
|
||||
G_DEFINE_TYPE (GtkFileSelection, gtk_file_selection, GTK_TYPE_DIALOG)
|
||||
|
||||
static void
|
||||
gtk_file_selection_class_init (GtkFileSelectionClass *class)
|
||||
|
@ -331,7 +331,7 @@ enum
|
||||
PROP_CANCELLED
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkFileSystemHandle, gtk_file_system_handle, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkFileSystemHandle, gtk_file_system_handle, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gtk_file_system_handle_init (GtkFileSystemHandle *handle)
|
||||
|
@ -150,7 +150,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkFileSystemModel, _gtk_file_system_model, G_TYPE_OBJE
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_MODEL,
|
||||
gtk_file_system_model_iface_init)
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_DRAG_SOURCE,
|
||||
drag_source_iface_init));
|
||||
drag_source_iface_init))
|
||||
|
||||
static void
|
||||
_gtk_file_system_model_class_init (GtkFileSystemModelClass *class)
|
||||
|
@ -263,14 +263,14 @@ static char * get_parent_dir (const char *filename);
|
||||
*/
|
||||
G_DEFINE_TYPE_WITH_CODE (GtkFileSystemUnix, gtk_file_system_unix, G_TYPE_OBJECT,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_FILE_SYSTEM,
|
||||
gtk_file_system_unix_iface_init));
|
||||
gtk_file_system_unix_iface_init))
|
||||
|
||||
/*
|
||||
* GtkFileFolderUnix
|
||||
*/
|
||||
G_DEFINE_TYPE_WITH_CODE (GtkFileFolderUnix, _gtk_file_folder_unix, G_TYPE_OBJECT,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_FILE_FOLDER,
|
||||
gtk_file_folder_unix_iface_init));
|
||||
gtk_file_folder_unix_iface_init))
|
||||
|
||||
|
||||
/**
|
||||
|
@ -61,7 +61,7 @@ static void gtk_fixed_get_child_property (GtkContainer *container,
|
||||
GValue *value,
|
||||
GParamSpec *pspec);
|
||||
|
||||
G_DEFINE_TYPE (GtkFixed, gtk_fixed, GTK_TYPE_CONTAINER);
|
||||
G_DEFINE_TYPE (GtkFixed, gtk_fixed, GTK_TYPE_CONTAINER)
|
||||
|
||||
static void
|
||||
gtk_fixed_class_init (GtkFixedClass *class)
|
||||
|
@ -111,7 +111,7 @@ static void gtk_font_button_update_font_info (GtkFontButton *gfs);
|
||||
|
||||
static guint font_button_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkFontButton, gtk_font_button, GTK_TYPE_BUTTON);
|
||||
G_DEFINE_TYPE (GtkFontButton, gtk_font_button, GTK_TYPE_BUTTON)
|
||||
|
||||
static void
|
||||
gtk_font_button_class_init (GtkFontButtonClass *klass)
|
||||
|
@ -159,7 +159,7 @@ static void gtk_font_selection_update_preview (GtkFontSelection *fs);
|
||||
|
||||
static GdkFont* gtk_font_selection_get_font_internal (GtkFontSelection *fontsel);
|
||||
|
||||
G_DEFINE_TYPE (GtkFontSelection, gtk_font_selection, GTK_TYPE_VBOX);
|
||||
G_DEFINE_TYPE (GtkFontSelection, gtk_font_selection, GTK_TYPE_VBOX)
|
||||
|
||||
static void
|
||||
gtk_font_selection_class_init (GtkFontSelectionClass *klass)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* GTK - The GIMP Toolkit
|
||||
* GTK - The GIMP Toolkit
|
||||
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@ -73,7 +73,7 @@ static void gtk_frame_compute_child_allocation (GtkFrame *frame,
|
||||
static void gtk_frame_real_compute_child_allocation (GtkFrame *frame,
|
||||
GtkAllocation *child_allocation);
|
||||
|
||||
G_DEFINE_TYPE (GtkFrame, gtk_frame, GTK_TYPE_BIN);
|
||||
G_DEFINE_TYPE (GtkFrame, gtk_frame, GTK_TYPE_BIN)
|
||||
|
||||
static void
|
||||
gtk_frame_class_init (GtkFrameClass *class)
|
||||
|
@ -208,7 +208,7 @@ static const char *const xpm[][27] =
|
||||
}
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkGammaCurve, gtk_gamma_curve, GTK_TYPE_VBOX);
|
||||
G_DEFINE_TYPE (GtkGammaCurve, gtk_gamma_curve, GTK_TYPE_VBOX)
|
||||
|
||||
static void
|
||||
gtk_gamma_curve_class_init (GtkGammaCurveClass *class)
|
||||
|
@ -145,7 +145,7 @@ static void gtk_handle_box_end_drag (GtkHandleBox *hb,
|
||||
|
||||
static guint handle_box_signals[SIGNAL_LAST] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkHandleBox, gtk_handle_box, GTK_TYPE_BIN);
|
||||
G_DEFINE_TYPE (GtkHandleBox, gtk_handle_box, GTK_TYPE_BIN)
|
||||
|
||||
static void
|
||||
gtk_handle_box_class_init (GtkHandleBoxClass *class)
|
||||
|
@ -38,7 +38,7 @@ static void gtk_hbutton_box_size_allocate (GtkWidget *widget,
|
||||
static gint default_spacing = 30;
|
||||
static gint default_layout_style = GTK_BUTTONBOX_EDGE;
|
||||
|
||||
G_DEFINE_TYPE (GtkHButtonBox, gtk_hbutton_box, GTK_TYPE_BUTTON_BOX);
|
||||
G_DEFINE_TYPE (GtkHButtonBox, gtk_hbutton_box, GTK_TYPE_BUTTON_BOX)
|
||||
|
||||
static void
|
||||
gtk_hbutton_box_class_init (GtkHButtonBoxClass *class)
|
||||
|
@ -36,7 +36,7 @@ static void gtk_hbox_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation *allocation);
|
||||
|
||||
|
||||
G_DEFINE_TYPE (GtkHBox, gtk_hbox, GTK_TYPE_BOX);
|
||||
G_DEFINE_TYPE (GtkHBox, gtk_hbox, GTK_TYPE_BOX)
|
||||
|
||||
static void
|
||||
gtk_hbox_class_init (GtkHBoxClass *class)
|
||||
|
@ -34,7 +34,7 @@ static void gtk_hpaned_size_request (GtkWidget *widget,
|
||||
static void gtk_hpaned_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation *allocation);
|
||||
|
||||
G_DEFINE_TYPE (GtkHPaned, gtk_hpaned, GTK_TYPE_PANED);
|
||||
G_DEFINE_TYPE (GtkHPaned, gtk_hpaned, GTK_TYPE_PANED)
|
||||
|
||||
static void
|
||||
gtk_hpaned_class_init (GtkHPanedClass *class)
|
||||
|
@ -46,7 +46,7 @@ static gint gtk_hruler_motion_notify (GtkWidget *widget,
|
||||
static void gtk_hruler_draw_ticks (GtkRuler *ruler);
|
||||
static void gtk_hruler_draw_pos (GtkRuler *ruler);
|
||||
|
||||
G_DEFINE_TYPE (GtkHRuler, gtk_hruler, GTK_TYPE_RULER);
|
||||
G_DEFINE_TYPE (GtkHRuler, gtk_hruler, GTK_TYPE_RULER)
|
||||
|
||||
static void
|
||||
gtk_hruler_class_init (GtkHRulerClass *klass)
|
||||
|
@ -39,7 +39,7 @@ static void gtk_hscale_get_layout_offsets (GtkScale *scale,
|
||||
gint *x,
|
||||
gint *y);
|
||||
|
||||
G_DEFINE_TYPE (GtkHScale, gtk_hscale, GTK_TYPE_SCALE);
|
||||
G_DEFINE_TYPE (GtkHScale, gtk_hscale, GTK_TYPE_SCALE)
|
||||
|
||||
static void
|
||||
gtk_hscale_class_init (GtkHScaleClass *class)
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "gtkintl.h"
|
||||
#include "gtkalias.h"
|
||||
|
||||
G_DEFINE_TYPE (GtkHScrollbar, gtk_hscrollbar, GTK_TYPE_SCROLLBAR);
|
||||
G_DEFINE_TYPE (GtkHScrollbar, gtk_hscrollbar, GTK_TYPE_SCROLLBAR)
|
||||
|
||||
static void
|
||||
gtk_hscrollbar_class_init (GtkHScrollbarClass *class)
|
||||
|
@ -35,7 +35,7 @@ static void gtk_hseparator_size_request (GtkWidget *widget,
|
||||
static gint gtk_hseparator_expose (GtkWidget *widget,
|
||||
GdkEventExpose *event);
|
||||
|
||||
G_DEFINE_TYPE (GtkHSeparator, gtk_hseparator, GTK_TYPE_SEPARATOR);
|
||||
G_DEFINE_TYPE (GtkHSeparator, gtk_hseparator, GTK_TYPE_SEPARATOR)
|
||||
|
||||
static void
|
||||
gtk_hseparator_class_init (GtkHSeparatorClass *class)
|
||||
|
@ -114,7 +114,7 @@ static void gtk_hsv_move (GtkHSV *hsv,
|
||||
|
||||
static guint hsv_signals[LAST_SIGNAL];
|
||||
|
||||
G_DEFINE_TYPE (GtkHSV, gtk_hsv, GTK_TYPE_WIDGET);
|
||||
G_DEFINE_TYPE (GtkHSV, gtk_hsv, GTK_TYPE_WIDGET)
|
||||
|
||||
/* Class initialization function for the HSV color selector */
|
||||
static void
|
||||
|
@ -96,7 +96,7 @@ static GtkIconSize icon_size_register_intern (const gchar *name,
|
||||
0, 0, 0, \
|
||||
any_direction, any_state, any_size }
|
||||
|
||||
G_DEFINE_TYPE (GtkIconFactory, gtk_icon_factory, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkIconFactory, gtk_icon_factory, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gtk_icon_factory_init (GtkIconFactory *factory)
|
||||
|
@ -234,7 +234,7 @@ static GHashTable *icon_theme_builtin_icons;
|
||||
GtkIconCache *_builtin_cache = NULL;
|
||||
static GList *builtin_dirs = NULL;
|
||||
|
||||
G_DEFINE_TYPE (GtkIconTheme, gtk_icon_theme, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkIconTheme, gtk_icon_theme, G_TYPE_OBJECT)
|
||||
|
||||
/**
|
||||
* gtk_icon_theme_new:
|
||||
|
@ -440,7 +440,7 @@ static guint icon_view_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GtkIconView, gtk_icon_view, GTK_TYPE_CONTAINER,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_CELL_LAYOUT,
|
||||
gtk_icon_view_cell_layout_init));
|
||||
gtk_icon_view_cell_layout_init))
|
||||
|
||||
static void
|
||||
gtk_icon_view_class_init (GtkIconViewClass *klass)
|
||||
|
@ -97,7 +97,7 @@ enum
|
||||
PROP_STORAGE_TYPE
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkImage, gtk_image, GTK_TYPE_MISC);
|
||||
G_DEFINE_TYPE (GtkImage, gtk_image, GTK_TYPE_MISC)
|
||||
|
||||
static void
|
||||
gtk_image_class_init (GtkImageClass *class)
|
||||
|
@ -68,7 +68,7 @@ enum {
|
||||
PROP_IMAGE
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkImageMenuItem, gtk_image_menu_item, GTK_TYPE_MENU_ITEM);
|
||||
G_DEFINE_TYPE (GtkImageMenuItem, gtk_image_menu_item, GTK_TYPE_MENU_ITEM)
|
||||
|
||||
static void
|
||||
gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass)
|
||||
|
@ -51,7 +51,7 @@ static void gtk_im_context_real_set_surrounding (GtkIMContext *context,
|
||||
gint len,
|
||||
gint cursor_index);
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkIMContext, gtk_im_context, G_TYPE_OBJECT);
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkIMContext, gtk_im_context, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
gtk_im_context_class_init (GtkIMContextClass *klass)
|
||||
|
@ -938,7 +938,7 @@ static void gtk_im_context_simple_get_preedit_string (GtkIMContext
|
||||
PangoAttrList **attrs,
|
||||
gint *cursor_pos);
|
||||
|
||||
G_DEFINE_TYPE (GtkIMContextSimple, gtk_im_context_simple, GTK_TYPE_IM_CONTEXT);
|
||||
G_DEFINE_TYPE (GtkIMContextSimple, gtk_im_context_simple, GTK_TYPE_IM_CONTEXT)
|
||||
|
||||
static void
|
||||
gtk_im_context_simple_class_init (GtkIMContextSimpleClass *class)
|
||||
|
@ -154,7 +154,7 @@ gtk_im_module_finalize (GObject *object)
|
||||
parent_class->finalize (object);
|
||||
}
|
||||
|
||||
G_DEFINE_TYPE (GtkIMModule, gtk_im_module, G_TYPE_TYPE_MODULE);
|
||||
G_DEFINE_TYPE (GtkIMModule, gtk_im_module, G_TYPE_TYPE_MODULE)
|
||||
|
||||
static void
|
||||
gtk_im_module_class_init (GtkIMModuleClass *class)
|
||||
|
@ -87,7 +87,7 @@ static gboolean gtk_im_multicontext_delete_surrounding_cb (GtkIMContext *
|
||||
|
||||
static const gchar *global_context_id = NULL;
|
||||
|
||||
G_DEFINE_TYPE (GtkIMMulticontext, gtk_im_multicontext, GTK_TYPE_IM_CONTEXT);
|
||||
G_DEFINE_TYPE (GtkIMMulticontext, gtk_im_multicontext, GTK_TYPE_IM_CONTEXT)
|
||||
|
||||
static void
|
||||
gtk_im_multicontext_class_init (GtkIMMulticontextClass *class)
|
||||
|
@ -119,7 +119,7 @@ static void gtk_input_dialog_fill_keys (GtkInputDialog *inputd,
|
||||
|
||||
static guint input_dialog_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkInputDialog, gtk_input_dialog, GTK_TYPE_DIALOG);
|
||||
G_DEFINE_TYPE (GtkInputDialog, gtk_input_dialog, GTK_TYPE_DIALOG)
|
||||
|
||||
static GtkInputDialogPrivate *
|
||||
gtk_input_dialog_get_private (GtkInputDialog *input_dialog)
|
||||
|
@ -57,7 +57,7 @@ static GObject *gtk_invisible_constructor (GType type,
|
||||
guint n_construct_properties,
|
||||
GObjectConstructParam *construct_params);
|
||||
|
||||
G_DEFINE_TYPE (GtkInvisible, gtk_invisible, GTK_TYPE_WIDGET);
|
||||
G_DEFINE_TYPE (GtkInvisible, gtk_invisible, GTK_TYPE_WIDGET)
|
||||
|
||||
static void
|
||||
gtk_invisible_class_init (GtkInvisibleClass *class)
|
||||
|
@ -48,7 +48,7 @@ static gint gtk_item_leave (GtkWidget *widget,
|
||||
|
||||
static guint item_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkItem, gtk_item, GTK_TYPE_BIN);
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkItem, gtk_item, GTK_TYPE_BIN)
|
||||
|
||||
static void
|
||||
gtk_item_class_init (GtkItemClass *class)
|
||||
|
@ -98,7 +98,7 @@ static GQuark quark_type_separator_item = 0;
|
||||
static GQuark quark_type_branch = 0;
|
||||
static GQuark quark_type_last_branch = 0;
|
||||
|
||||
G_DEFINE_TYPE (GtkItemFactory, gtk_item_factory, GTK_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (GtkItemFactory, gtk_item_factory, GTK_TYPE_OBJECT)
|
||||
|
||||
/* --- functions --- */
|
||||
static void
|
||||
|
@ -193,7 +193,7 @@ static gint gtk_label_move_backward_word (GtkLabel *label,
|
||||
|
||||
static GQuark quark_angle = 0;
|
||||
|
||||
G_DEFINE_TYPE (GtkLabel, gtk_label, GTK_TYPE_MISC);
|
||||
G_DEFINE_TYPE (GtkLabel, gtk_label, GTK_TYPE_MISC)
|
||||
|
||||
static void
|
||||
add_move_binding (GtkBindingSet *binding_set,
|
||||
|
@ -112,7 +112,7 @@ static void gtk_layout_set_adjustment_upper (GtkAdjustment *adj,
|
||||
gdouble upper,
|
||||
gboolean always_emit_changed);
|
||||
|
||||
G_DEFINE_TYPE (GtkLayout, gtk_layout, GTK_TYPE_CONTAINER);
|
||||
G_DEFINE_TYPE (GtkLayout, gtk_layout, GTK_TYPE_CONTAINER)
|
||||
|
||||
/* Public interface
|
||||
*/
|
||||
|
@ -106,7 +106,7 @@ static GtkLinkButtonUriFunc uri_func = NULL;
|
||||
static gpointer uri_func_data = NULL;
|
||||
static GDestroyNotify uri_func_destroy = NULL;
|
||||
|
||||
G_DEFINE_TYPE (GtkLinkButton, gtk_link_button, GTK_TYPE_BUTTON);
|
||||
G_DEFINE_TYPE (GtkLinkButton, gtk_link_button, GTK_TYPE_BUTTON)
|
||||
|
||||
static void
|
||||
gtk_link_button_class_init (GtkLinkButtonClass *klass)
|
||||
|
@ -123,7 +123,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkListStore, gtk_list_store, G_TYPE_OBJECT,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_DRAG_DEST,
|
||||
gtk_list_store_drag_dest_init)
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_SORTABLE,
|
||||
gtk_list_store_sortable_init));
|
||||
gtk_list_store_sortable_init))
|
||||
|
||||
static void
|
||||
gtk_list_store_class_init (GtkListStoreClass *class)
|
||||
|
@ -254,7 +254,7 @@ gtk_menu_get_private (GtkMenu *menu)
|
||||
return G_TYPE_INSTANCE_GET_PRIVATE (menu, GTK_TYPE_MENU, GtkMenuPrivate);
|
||||
}
|
||||
|
||||
G_DEFINE_TYPE (GtkMenu, gtk_menu, GTK_TYPE_MENU_SHELL);
|
||||
G_DEFINE_TYPE (GtkMenu, gtk_menu, GTK_TYPE_MENU_SHELL)
|
||||
|
||||
static void
|
||||
menu_queue_resize (GtkMenu *menu)
|
||||
|
@ -87,7 +87,7 @@ static void gtk_menu_bar_move_current (GtkMenuShell *menu_shell,
|
||||
|
||||
static GtkShadowType get_shadow_type (GtkMenuBar *menubar);
|
||||
|
||||
G_DEFINE_TYPE (GtkMenuBar, gtk_menu_bar, GTK_TYPE_MENU_SHELL);
|
||||
G_DEFINE_TYPE (GtkMenuBar, gtk_menu_bar, GTK_TYPE_MENU_SHELL)
|
||||
|
||||
static void
|
||||
gtk_menu_bar_init (GtkMenuBar *object)
|
||||
|
@ -97,7 +97,7 @@ static gboolean gtk_menu_item_can_activate_accel (GtkWidget *widget,
|
||||
|
||||
static guint menu_item_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkMenuItem, gtk_menu_item, GTK_TYPE_ITEM);
|
||||
G_DEFINE_TYPE (GtkMenuItem, gtk_menu_item, GTK_TYPE_ITEM)
|
||||
|
||||
static void
|
||||
gtk_menu_item_class_init (GtkMenuItemClass *klass)
|
||||
|
@ -201,7 +201,7 @@ static gboolean gtk_menu_shell_activate_mnemonic (GtkMenuShell *menu_shell,
|
||||
|
||||
static guint menu_shell_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkMenuShell, gtk_menu_shell, GTK_TYPE_CONTAINER);
|
||||
G_DEFINE_TYPE (GtkMenuShell, gtk_menu_shell, GTK_TYPE_CONTAINER)
|
||||
|
||||
static void
|
||||
gtk_menu_shell_class_init (GtkMenuShellClass *klass)
|
||||
|
@ -63,7 +63,7 @@ enum
|
||||
|
||||
static gint signals[LAST_SIGNAL];
|
||||
|
||||
G_DEFINE_TYPE (GtkMenuToolButton, gtk_menu_tool_button, GTK_TYPE_TOOL_BUTTON);
|
||||
G_DEFINE_TYPE (GtkMenuToolButton, gtk_menu_tool_button, GTK_TYPE_TOOL_BUTTON)
|
||||
|
||||
static gboolean
|
||||
gtk_menu_tool_button_set_tooltip (GtkToolItem *tool_item,
|
||||
|
@ -76,7 +76,7 @@ enum {
|
||||
PROP_IMAGE
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkMessageDialog, gtk_message_dialog, GTK_TYPE_DIALOG);
|
||||
G_DEFINE_TYPE (GtkMessageDialog, gtk_message_dialog, GTK_TYPE_DIALOG)
|
||||
|
||||
static void
|
||||
gtk_message_dialog_class_init (GtkMessageDialogClass *class)
|
||||
|
@ -51,7 +51,7 @@ static void gtk_misc_get_property (GObject *object,
|
||||
GParamSpec *pspec);
|
||||
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkMisc, gtk_misc, GTK_TYPE_WIDGET);
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkMisc, gtk_misc, GTK_TYPE_WIDGET)
|
||||
|
||||
static void
|
||||
gtk_misc_class_init (GtkMiscClass *class)
|
||||
|
@ -400,7 +400,7 @@ static gpointer window_creation_hook_data;
|
||||
|
||||
static guint notebook_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkNotebook, gtk_notebook, GTK_TYPE_CONTAINER);
|
||||
G_DEFINE_TYPE (GtkNotebook, gtk_notebook, GTK_TYPE_CONTAINER)
|
||||
|
||||
static void
|
||||
add_tab_bindings (GtkBindingSet *binding_set,
|
||||
|
@ -130,7 +130,7 @@ static guint editable_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GtkOldEditable, gtk_old_editable, GTK_TYPE_WIDGET,
|
||||
G_IMPLEMENT_INTERFACE (GTK_TYPE_EDITABLE,
|
||||
gtk_old_editable_editable_init));
|
||||
gtk_old_editable_editable_init))
|
||||
|
||||
static void
|
||||
gtk_old_editable_class_init (GtkOldEditableClass *class)
|
||||
|
@ -114,9 +114,9 @@ enum
|
||||
LAST_PROP
|
||||
};
|
||||
|
||||
static guint signals[LAST_SIGNAL] = { 0 };
|
||||
static guint signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
G_DEFINE_TYPE (GtkOptionMenu, gtk_option_menu, GTK_TYPE_BUTTON);
|
||||
G_DEFINE_TYPE (GtkOptionMenu, gtk_option_menu, GTK_TYPE_BUTTON)
|
||||
|
||||
static void
|
||||
gtk_option_menu_class_init (GtkOptionMenuClass *class)
|
||||
|
@ -103,7 +103,7 @@ enum {
|
||||
PAGE_SETUP_LIST_N_COLS
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GtkPageSetupUnixDialog, gtk_page_setup_unix_dialog, GTK_TYPE_DIALOG);
|
||||
G_DEFINE_TYPE (GtkPageSetupUnixDialog, gtk_page_setup_unix_dialog, GTK_TYPE_DIALOG)
|
||||
|
||||
#define GTK_PAGE_SETUP_UNIX_DIALOG_GET_PRIVATE(o) \
|
||||
(G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG, GtkPageSetupUnixDialogPrivate))
|
||||
|
@ -138,7 +138,7 @@ struct _GtkPanedPrivate
|
||||
guint32 grab_time;
|
||||
};
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkPaned, gtk_paned, GTK_TYPE_CONTAINER);
|
||||
G_DEFINE_ABSTRACT_TYPE (GtkPaned, gtk_paned, GTK_TYPE_CONTAINER)
|
||||
|
||||
static guint signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
|
@ -75,7 +75,7 @@ struct _ButtonData
|
||||
*/
|
||||
#define BUTTON_IS_FAKE_ROOT(button) ((button)->type == HOME_BUTTON)
|
||||
|
||||
G_DEFINE_TYPE (GtkPathBar, gtk_path_bar, GTK_TYPE_CONTAINER);
|
||||
G_DEFINE_TYPE (GtkPathBar, gtk_path_bar, GTK_TYPE_CONTAINER)
|
||||
|
||||
static void gtk_path_bar_finalize (GObject *object);
|
||||
static void gtk_path_bar_dispose (GObject *object);
|
||||
|
@ -43,7 +43,7 @@ static gint gtk_pixmap_expose (GtkWidget *widget,
|
||||
static void gtk_pixmap_finalize (GObject *object);
|
||||
static void build_insensitive_pixmap (GtkPixmap *gtkpixmap);
|
||||
|
||||
G_DEFINE_TYPE (GtkPixmap, gtk_pixmap, GTK_TYPE_MISC);
|
||||
G_DEFINE_TYPE (GtkPixmap, gtk_pixmap, GTK_TYPE_MISC)
|
||||
|
||||
static void
|
||||
gtk_pixmap_class_init (GtkPixmapClass *class)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user