diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-05-14 04:25:34 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-05-14 04:25:34 +0000 |
commit | 113f364a37cefbef4eabb2c40070e08357a1b157 (patch) | |
tree | 8d1c6780766d0470c72d31978d1b6b58cfda62bf /gtk | |
parent | 1ad9d62428e79b3b5f2a5609ba44a7320bd77b9c (diff) | |
download | gdk-pixbuf-113f364a37cefbef4eabb2c40070e08357a1b157.tar.gz |
More of the same
Diffstat (limited to 'gtk')
164 files changed, 169 insertions, 171 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 65c21ecb5..2a0d465ea 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -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) diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c index c92218711..60b66c871 100644 --- a/gtk/gtkaccelgroup.c +++ b/gtk/gtkaccelgroup.c @@ -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 diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c index 528dda5f3..9d3ca419b 100644 --- a/gtk/gtkaccellabel.c +++ b/gtk/gtkaccellabel.c @@ -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) diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c index d096f8560..c6d874883 100644 --- a/gtk/gtkaccelmap.c +++ b/gtk/gtkaccelmap.c @@ -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) diff --git a/gtk/gtkaccessible.c b/gtk/gtkaccessible.c index 79a1ad536..ceaac5f6c 100644 --- a/gtk/gtkaccessible.c +++ b/gtk/gtkaccessible.c @@ -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) diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c index cc71e15e5..afc80780a 100644 --- a/gtk/gtkaction.c +++ b/gtk/gtkaction.c @@ -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, diff --git a/gtk/gtkadjustment.c b/gtk/gtkadjustment.c index d7ac231fd..7d8fb9e5e 100644 --- a/gtk/gtkadjustment.c +++ b/gtk/gtkadjustment.c @@ -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) diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c index 42ea39a11..5f852d09c 100644 --- a/gtk/gtkalignment.c +++ b/gtk/gtkalignment.c @@ -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) diff --git a/gtk/gtkarrow.c b/gtk/gtkarrow.c index f72f85d39..45f024d61 100644 --- a/gtk/gtkarrow.c +++ b/gtk/gtkarrow.c @@ -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 diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c index 5606752f0..0caa58312 100644 --- a/gtk/gtkaspectframe.c +++ b/gtk/gtkaspectframe.c @@ -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) diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index 4999fa7be..ee353d81e 100644 --- a/gtk/gtkassistant.c +++ b/gtk/gtkassistant.c @@ -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 diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c index 38a57dbb9..c546a344b 100644 --- a/gtk/gtkbbox.c +++ b/gtk/gtkbbox.c @@ -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) diff --git a/gtk/gtkbin.c b/gtk/gtkbin.c index f3fb5ef95..d6f5d5e35 100644 --- a/gtk/gtkbin.c +++ b/gtk/gtkbin.c @@ -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) diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index 470b295e2..f80a7d09a 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -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) diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index 6e4a50b5b..6a88043a5 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -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) diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index e73ec2d41..f22830de6 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -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) diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c index 51c30af58..c2e3e2337 100644 --- a/gtk/gtkcellrendereraccel.c +++ b/gtk/gtkcellrendereraccel.c @@ -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) diff --git a/gtk/gtkcellrenderercombo.c b/gtk/gtkcellrenderercombo.c index b34bb058c..a1ed5f66b 100644 --- a/gtk/gtkcellrenderercombo.c +++ b/gtk/gtkcellrenderercombo.c @@ -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) diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c index 6bdfbcaa2..1723c8778 100644 --- a/gtk/gtkcellrendererpixbuf.c +++ b/gtk/gtkcellrendererpixbuf.c @@ -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) diff --git a/gtk/gtkcellrendererprogress.c b/gtk/gtkcellrendererprogress.c index e565b2646..97de1157d 100644 --- a/gtk/gtkcellrendererprogress.c +++ b/gtk/gtkcellrendererprogress.c @@ -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) diff --git a/gtk/gtkcellrendererspin.c b/gtk/gtkcellrendererspin.c index ba65efe65..bae5cd657 100644 --- a/gtk/gtkcellrendererspin.c +++ b/gtk/gtkcellrendererspin.c @@ -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 diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index 426d8c803..e616633d3 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -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) diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index e802177c3..3957d19cc 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -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) diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c index c4c221a04..1c8941576 100644 --- a/gtk/gtkcellview.c +++ b/gtk/gtkcellview.c @@ -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) diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c index 71c21e016..fef4b39f1 100644 --- a/gtk/gtkcheckbutton.c +++ b/gtk/gtkcheckbutton.c @@ -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) diff --git a/gtk/gtkcheckmenuitem.c b/gtk/gtkcheckmenuitem.c index 429dadaaa..4f631852c 100644 --- a/gtk/gtkcheckmenuitem.c +++ b/gtk/gtkcheckmenuitem.c @@ -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) diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c index ccda4c703..51b42a4f2 100644 --- a/gtk/gtkclipboard.c +++ b/gtk/gtkclipboard.c @@ -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) diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c index 94f79187b..ac2c6d315 100644 --- a/gtk/gtkcolorbutton.c +++ b/gtk/gtkcolorbutton.c @@ -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) diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c index 2d6024044..24eae26ba 100644 --- a/gtk/gtkcolorsel.c +++ b/gtk/gtkcolorsel.c @@ -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) diff --git a/gtk/gtkcolorseldialog.c b/gtk/gtkcolorseldialog.c index e00f34304..1f427ca43 100644 --- a/gtk/gtkcolorseldialog.c +++ b/gtk/gtkcolorseldialog.c @@ -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) diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c index 65cdbbf31..2a9851595 100644 --- a/gtk/gtkcombo.c +++ b/gtk/gtkcombo.c @@ -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) diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 6228aeccf..35f2e1360 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -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 diff --git a/gtk/gtkcomboboxentry.c b/gtk/gtkcomboboxentry.c index 8153aa43d..dd49652e9 100644 --- a/gtk/gtkcomboboxentry.c +++ b/gtk/gtkcomboboxentry.c @@ -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) diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 26c1a6e06..833c1d938 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -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) diff --git a/gtk/gtkdrawingarea.c b/gtk/gtkdrawingarea.c index 9a5d6091e..ef6c22bd9 100644 --- a/gtk/gtkdrawingarea.c +++ b/gtk/gtkdrawingarea.c @@ -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) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 8dc73de0d..8892d43a3 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -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, diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index 285a7ab4f..54644fabe 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -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) diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c index fd1c2ae7b..121788374 100644 --- a/gtk/gtkeventbox.c +++ b/gtk/gtkeventbox.c @@ -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) diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index d90e16561..ce454a372 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -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) diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index a3b202d0c..2f3bad798 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -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) \ -}); +}) /* ***************** * diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index c9bf0277a..79bd12e22 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -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, diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index e36c42c58..0c57e66a9 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -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) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index 311d9d3e9..c1d966160 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -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) diff --git a/gtk/gtkfilechoosersettings.c b/gtk/gtkfilechoosersettings.c index 861ca3f43..7fbed69e1 100644 --- a/gtk/gtkfilechoosersettings.c +++ b/gtk/gtkfilechoosersettings.c @@ -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) diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index dceb774f2..6ff7cd3b6 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -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) diff --git a/gtk/gtkfilefilter.c b/gtk/gtkfilefilter.c index b430a84c3..64024dbe9 100644 --- a/gtk/gtkfilefilter.c +++ b/gtk/gtkfilefilter.c @@ -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) diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c index 4cf800a44..56d58d83a 100644 --- a/gtk/gtkfilesel.c +++ b/gtk/gtkfilesel.c @@ -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) diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c index 4849e5d08..f2e48e7ba 100644 --- a/gtk/gtkfilesystem.c +++ b/gtk/gtkfilesystem.c @@ -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) diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c index 32aebbcdc..a85ad7af8 100644 --- a/gtk/gtkfilesystemmodel.c +++ b/gtk/gtkfilesystemmodel.c @@ -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) diff --git a/gtk/gtkfilesystemunix.c b/gtk/gtkfilesystemunix.c index 73783d739..9b9218426 100644 --- a/gtk/gtkfilesystemunix.c +++ b/gtk/gtkfilesystemunix.c @@ -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)) /** diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index d2465e9ad..beaac5c51 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -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) diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index 4c2e5756e..59f4b20e9 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -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) diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c index e4e2cd54c..ee88c292c 100644 --- a/gtk/gtkfontsel.c +++ b/gtk/gtkfontsel.c @@ -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) diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index febefaf4a..084455cdd 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -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) diff --git a/gtk/gtkgamma.c b/gtk/gtkgamma.c index b07fea552..69f6e7e09 100644 --- a/gtk/gtkgamma.c +++ b/gtk/gtkgamma.c @@ -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) diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c index 96348d71d..bb41e5da5 100644 --- a/gtk/gtkhandlebox.c +++ b/gtk/gtkhandlebox.c @@ -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) diff --git a/gtk/gtkhbbox.c b/gtk/gtkhbbox.c index 8f90ea3d2..694ea02a8 100644 --- a/gtk/gtkhbbox.c +++ b/gtk/gtkhbbox.c @@ -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) diff --git a/gtk/gtkhbox.c b/gtk/gtkhbox.c index 9b0a5e88f..3140cac67 100644 --- a/gtk/gtkhbox.c +++ b/gtk/gtkhbox.c @@ -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) diff --git a/gtk/gtkhpaned.c b/gtk/gtkhpaned.c index 103a70aad..3968c3984 100644 --- a/gtk/gtkhpaned.c +++ b/gtk/gtkhpaned.c @@ -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) diff --git a/gtk/gtkhruler.c b/gtk/gtkhruler.c index 3a1a206b7..94d00b514 100644 --- a/gtk/gtkhruler.c +++ b/gtk/gtkhruler.c @@ -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) diff --git a/gtk/gtkhscale.c b/gtk/gtkhscale.c index d066112cc..4b407ccf5 100644 --- a/gtk/gtkhscale.c +++ b/gtk/gtkhscale.c @@ -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) diff --git a/gtk/gtkhscrollbar.c b/gtk/gtkhscrollbar.c index 60c273f86..f6ed5037a 100644 --- a/gtk/gtkhscrollbar.c +++ b/gtk/gtkhscrollbar.c @@ -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) diff --git a/gtk/gtkhseparator.c b/gtk/gtkhseparator.c index 2b0f216d0..68b50eb65 100644 --- a/gtk/gtkhseparator.c +++ b/gtk/gtkhseparator.c @@ -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) diff --git a/gtk/gtkhsv.c b/gtk/gtkhsv.c index 3a256e6c8..0bd8ff2de 100644 --- a/gtk/gtkhsv.c +++ b/gtk/gtkhsv.c @@ -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 diff --git a/gtk/gtkiconfactory.c b/gtk/gtkiconfactory.c index 51e048ec1..d89225b51 100644 --- a/gtk/gtkiconfactory.c +++ b/gtk/gtkiconfactory.c @@ -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) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 1af2fd1bd..1fbe6fb84 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -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: diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index 8abe168c6..be033a2c6 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -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) diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 43bf56909..d9a85ea2b 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -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) diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c index 954cb85e8..500b9ad35 100644 --- a/gtk/gtkimagemenuitem.c +++ b/gtk/gtkimagemenuitem.c @@ -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) diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c index e8eadc339..6b4516049 100644 --- a/gtk/gtkimcontext.c +++ b/gtk/gtkimcontext.c @@ -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) diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 7676fe330..369825760 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -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) diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c index 3b126e8f4..5b07cad92 100644 --- a/gtk/gtkimmodule.c +++ b/gtk/gtkimmodule.c @@ -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) diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c index 417ea9a12..95760171e 100644 --- a/gtk/gtkimmulticontext.c +++ b/gtk/gtkimmulticontext.c @@ -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) diff --git a/gtk/gtkinputdialog.c b/gtk/gtkinputdialog.c index ac1ef7f13..54fb113b3 100644 --- a/gtk/gtkinputdialog.c +++ b/gtk/gtkinputdialog.c @@ -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) diff --git a/gtk/gtkinvisible.c b/gtk/gtkinvisible.c index 5128aa884..3cf3a2ae9 100644 --- a/gtk/gtkinvisible.c +++ b/gtk/gtkinvisible.c @@ -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) diff --git a/gtk/gtkitem.c b/gtk/gtkitem.c index 10fc731ea..aadfefb1b 100644 --- a/gtk/gtkitem.c +++ b/gtk/gtkitem.c @@ -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) diff --git a/gtk/gtkitemfactory.c b/gtk/gtkitemfactory.c index 2148f6db3..9573fd7d6 100644 --- a/gtk/gtkitemfactory.c +++ b/gtk/gtkitemfactory.c @@ -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 diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 30b3226aa..f94642dae 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -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, diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c index b7e178e61..abc3e8b78 100644 --- a/gtk/gtklayout.c +++ b/gtk/gtklayout.c @@ -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 */ diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c index 7d872a482..e742c6993 100644 --- a/gtk/gtklinkbutton.c +++ b/gtk/gtklinkbutton.c @@ -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) diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c index 801f40fc2..f18384b56 100644 --- a/gtk/gtkliststore.c +++ b/gtk/gtkliststore.c @@ -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) diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c index d6a85fe83..64d1efc0b 100644 --- a/gtk/gtkmenu.c +++ b/gtk/gtkmenu.c @@ -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) diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c index 9b6e72553..f87453cad 100644 --- a/gtk/gtkmenubar.c +++ b/gtk/gtkmenubar.c @@ -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) diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c index 0a4543b98..64dc6fb29 100644 --- a/gtk/gtkmenuitem.c +++ b/gtk/gtkmenuitem.c @@ -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) diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c index 4d5d837aa..cb43ce192 100644 --- a/gtk/gtkmenushell.c +++ b/gtk/gtkmenushell.c @@ -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) diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c index db7b3eb4c..70ccc1a51 100644 --- a/gtk/gtkmenutoolbutton.c +++ b/gtk/gtkmenutoolbutton.c @@ -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, diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c index ce7909821..e2f634ade 100644 --- a/gtk/gtkmessagedialog.c +++ b/gtk/gtkmessagedialog.c @@ -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) diff --git a/gtk/gtkmisc.c b/gtk/gtkmisc.c index a876d0b02..591091dc6 100644 --- a/gtk/gtkmisc.c +++ b/gtk/gtkmisc.c @@ -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) diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 003516444..dfef203d6 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -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, diff --git a/gtk/gtkoldeditable.c b/gtk/gtkoldeditable.c index 562fbb122..ced3b5005 100644 --- a/gtk/gtkoldeditable.c +++ b/gtk/gtkoldeditable.c @@ -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) diff --git a/gtk/gtkoptionmenu.c b/gtk/gtkoptionmenu.c index e9cf677d7..0280b2372 100644 --- a/gtk/gtkoptionmenu.c +++ b/gtk/gtkoptionmenu.c @@ -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) diff --git a/gtk/gtkpagesetupunixdialog.c b/gtk/gtkpagesetupunixdialog.c index e7dd6925d..007618fea 100644 --- a/gtk/gtkpagesetupunixdialog.c +++ b/gtk/gtkpagesetupunixdialog.c @@ -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)) diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c index 5c5be9455..716858cc8 100644 --- a/gtk/gtkpaned.c +++ b/gtk/gtkpaned.c @@ -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 }; diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index 1e2cac417..6b87056ed 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -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); diff --git a/gtk/gtkpixmap.c b/gtk/gtkpixmap.c index 3f211d08a..bee47809d 100644 --- a/gtk/gtkpixmap.c +++ b/gtk/gtkpixmap.c @@ -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) diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c index a77cf07ed..d4f94ce77 100644 --- a/gtk/gtkplug.c +++ b/gtk/gtkplug.c @@ -71,7 +71,7 @@ enum { static guint plug_signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkPlug, gtk_plug, GTK_TYPE_WINDOW); +G_DEFINE_TYPE (GtkPlug, gtk_plug, GTK_TYPE_WINDOW) static void gtk_plug_class_init (GtkPlugClass *class) diff --git a/gtk/gtkpreview.c b/gtk/gtkpreview.c index d7ddcca56..736c1bca1 100644 --- a/gtk/gtkpreview.c +++ b/gtk/gtkpreview.c @@ -72,7 +72,7 @@ static GtkPreviewClass *preview_class = NULL; static gint install_cmap = FALSE; -G_DEFINE_TYPE (GtkPreview, gtk_preview, GTK_TYPE_WIDGET); +G_DEFINE_TYPE (GtkPreview, gtk_preview, GTK_TYPE_WIDGET) static void gtk_preview_class_init (GtkPreviewClass *klass) diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c index 272d2f395..017b4c728 100644 --- a/gtk/gtkprintbackend.c +++ b/gtk/gtkprintbackend.c @@ -88,7 +88,7 @@ struct _GtkPrintBackendModuleClass GTypeModuleClass parent_class; }; -G_DEFINE_TYPE (GtkPrintBackendModule, _gtk_print_backend_module, G_TYPE_TYPE_MODULE); +G_DEFINE_TYPE (GtkPrintBackendModule, _gtk_print_backend_module, G_TYPE_TYPE_MODULE) #define GTK_TYPE_PRINT_BACKEND_MODULE (_gtk_print_backend_module_get_type ()) #define GTK_PRINT_BACKEND_MODULE(module) (G_TYPE_CHECK_INSTANCE_CAST ((module), GTK_TYPE_PRINT_BACKEND_MODULE, GtkPrintBackendModule)) @@ -296,7 +296,7 @@ gtk_print_backend_load_modules () * GtkPrintBackend * *****************************************/ -G_DEFINE_TYPE (GtkPrintBackend, gtk_print_backend, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkPrintBackend, gtk_print_backend, G_TYPE_OBJECT) static void gtk_print_backend_class_init (GtkPrintBackendClass *class) diff --git a/gtk/gtkprinter.c b/gtk/gtkprinter.c index e9a197cb9..a616181fb 100644 --- a/gtk/gtkprinter.c +++ b/gtk/gtkprinter.c @@ -82,7 +82,7 @@ static void gtk_printer_get_property (GObject *object, GValue *value, GParamSpec *pspec); -G_DEFINE_TYPE (GtkPrinter, gtk_printer, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkPrinter, gtk_printer, G_TYPE_OBJECT) static int safe_strcmp (const char *a, const char *b) diff --git a/gtk/gtkprinteroptionwidget.c b/gtk/gtkprinteroptionwidget.c index afa1ea29b..440b873a1 100644 --- a/gtk/gtkprinteroptionwidget.c +++ b/gtk/gtkprinteroptionwidget.c @@ -74,7 +74,7 @@ enum { static guint signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkPrinterOptionWidget, gtk_printer_option_widget, GTK_TYPE_HBOX); +G_DEFINE_TYPE (GtkPrinterOptionWidget, gtk_printer_option_widget, GTK_TYPE_HBOX) static void gtk_printer_option_widget_set_property (GObject *object, guint prop_id, diff --git a/gtk/gtkprintjob.c b/gtk/gtkprintjob.c index 6761b2d67..1d2f6e314 100644 --- a/gtk/gtkprintjob.c +++ b/gtk/gtkprintjob.c @@ -92,7 +92,7 @@ enum { static guint signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkPrintJob, gtk_print_job, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkPrintJob, gtk_print_job, G_TYPE_OBJECT) static void gtk_print_job_class_init (GtkPrintJobClass *class) diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 6f54d186f..baaf5366d 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -181,7 +181,7 @@ struct GtkPrintUnixDialogPrivate gint current_page; }; -G_DEFINE_TYPE (GtkPrintUnixDialog, gtk_print_unix_dialog, GTK_TYPE_DIALOG); +G_DEFINE_TYPE (GtkPrintUnixDialog, gtk_print_unix_dialog, GTK_TYPE_DIALOG) static gboolean is_default_printer (GtkPrintUnixDialog *dialog, diff --git a/gtk/gtkprogress.c b/gtk/gtkprogress.c index 2cc166aca..969ab7f80 100644 --- a/gtk/gtkprogress.c +++ b/gtk/gtkprogress.c @@ -66,7 +66,7 @@ static void gtk_progress_value_changed (GtkAdjustment *adjustment, static void gtk_progress_changed (GtkAdjustment *adjustment, GtkProgress *progress); -G_DEFINE_TYPE (GtkProgress, gtk_progress, GTK_TYPE_WIDGET); +G_DEFINE_TYPE (GtkProgress, gtk_progress, GTK_TYPE_WIDGET) static void gtk_progress_class_init (GtkProgressClass *class) diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index 27e31d386..0bf8661f2 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -89,7 +89,7 @@ static void gtk_progress_bar_set_activity_blocks_internal (GtkProgressBar *pbar, guint blocks); -G_DEFINE_TYPE (GtkProgressBar, gtk_progress_bar, GTK_TYPE_PROGRESS); +G_DEFINE_TYPE (GtkProgressBar, gtk_progress_bar, GTK_TYPE_PROGRESS) static void gtk_progress_bar_class_init (GtkProgressBarClass *class) diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c index ab3cadf7f..123e310c8 100644 --- a/gtk/gtkradioaction.c +++ b/gtk/gtkradioaction.c @@ -73,7 +73,7 @@ static void gtk_radio_action_activate (GtkAction *action); static GtkWidget *create_menu_item (GtkAction *action); -G_DEFINE_TYPE (GtkRadioAction, gtk_radio_action, GTK_TYPE_TOGGLE_ACTION); +G_DEFINE_TYPE (GtkRadioAction, gtk_radio_action, GTK_TYPE_TOGGLE_ACTION) static guint radio_action_signals[LAST_SIGNAL] = { 0 }; diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index 9a076b5b1..cac8a9495 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -54,7 +54,7 @@ static void gtk_radio_button_get_property (GObject *object, GValue *value, GParamSpec *pspec); -G_DEFINE_TYPE (GtkRadioButton, gtk_radio_button, GTK_TYPE_CHECK_BUTTON); +G_DEFINE_TYPE (GtkRadioButton, gtk_radio_button, GTK_TYPE_CHECK_BUTTON) static guint group_changed_signal = 0; diff --git a/gtk/gtkradiomenuitem.c b/gtk/gtkradiomenuitem.c index e05062517..e5ef7ec24 100644 --- a/gtk/gtkradiomenuitem.c +++ b/gtk/gtkradiomenuitem.c @@ -52,7 +52,7 @@ static void gtk_radio_menu_item_get_property (GObject *object, static guint group_changed_signal = 0; -G_DEFINE_TYPE (GtkRadioMenuItem, gtk_radio_menu_item, GTK_TYPE_CHECK_MENU_ITEM); +G_DEFINE_TYPE (GtkRadioMenuItem, gtk_radio_menu_item, GTK_TYPE_CHECK_MENU_ITEM) GtkWidget* gtk_radio_menu_item_new (GSList *group) diff --git a/gtk/gtkradiotoolbutton.c b/gtk/gtkradiotoolbutton.c index 5e8b69e8b..7428defc5 100644 --- a/gtk/gtkradiotoolbutton.c +++ b/gtk/gtkradiotoolbutton.c @@ -37,7 +37,7 @@ static void gtk_radio_tool_button_set_property (GObject *object, const GValue *value, GParamSpec *pspec); -G_DEFINE_TYPE (GtkRadioToolButton, gtk_radio_tool_button, GTK_TYPE_TOGGLE_TOOL_BUTTON); +G_DEFINE_TYPE (GtkRadioToolButton, gtk_radio_tool_button, GTK_TYPE_TOGGLE_TOOL_BUTTON) static void gtk_radio_tool_button_class_init (GtkRadioToolButtonClass *klass) diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index abe45fe40..fffe05e21 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -191,7 +191,7 @@ static gboolean gtk_range_key_press (GtkWidget *range, static guint signals[LAST_SIGNAL]; -G_DEFINE_ABSTRACT_TYPE (GtkRange, gtk_range, GTK_TYPE_WIDGET); +G_DEFINE_ABSTRACT_TYPE (GtkRange, gtk_range, GTK_TYPE_WIDGET) static void gtk_range_class_init (GtkRangeClass *class) diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index c11632bc3..edc1d86c0 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -1031,7 +1031,7 @@ gtk_rc_parse (const gchar *filename) /* Handling of RC styles */ -G_DEFINE_TYPE (GtkRcStyle, gtk_rc_style, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkRcStyle, gtk_rc_style, G_TYPE_OBJECT) static void gtk_rc_style_init (GtkRcStyle *style) diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c index ddc176ee2..e78a51817 100644 --- a/gtk/gtkrecentchooserdefault.c +++ b/gtk/gtkrecentchooserdefault.c @@ -290,7 +290,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkRecentChooserDefault, _gtk_recent_chooser_default, GTK_TYPE_VBOX, G_IMPLEMENT_INTERFACE (GTK_TYPE_RECENT_CHOOSER, - gtk_recent_chooser_iface_init)); + gtk_recent_chooser_iface_init)) diff --git a/gtk/gtkrecentchooserdialog.c b/gtk/gtkrecentchooserdialog.c index a047789a9..2c73c4b01 100644 --- a/gtk/gtkrecentchooserdialog.c +++ b/gtk/gtkrecentchooserdialog.c @@ -65,7 +65,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkRecentChooserDialog, gtk_recent_chooser_dialog, GTK_TYPE_DIALOG, G_IMPLEMENT_INTERFACE (GTK_TYPE_RECENT_CHOOSER, - _gtk_recent_chooser_delegate_iface_init)); + _gtk_recent_chooser_delegate_iface_init)) static void gtk_recent_chooser_dialog_class_init (GtkRecentChooserDialogClass *klass) diff --git a/gtk/gtkrecentchoosermenu.c b/gtk/gtkrecentchoosermenu.c index 1c423316d..b540b8921 100644 --- a/gtk/gtkrecentchoosermenu.c +++ b/gtk/gtkrecentchoosermenu.c @@ -160,7 +160,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkRecentChooserMenu, gtk_recent_chooser_menu, GTK_TYPE_MENU, G_IMPLEMENT_INTERFACE (GTK_TYPE_RECENT_CHOOSER, - gtk_recent_chooser_iface_init)); + gtk_recent_chooser_iface_init)) static void diff --git a/gtk/gtkrecentchooserwidget.c b/gtk/gtkrecentchooserwidget.c index b3c211569..a3be54418 100644 --- a/gtk/gtkrecentchooserwidget.c +++ b/gtk/gtkrecentchooserwidget.c @@ -53,7 +53,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkRecentChooserWidget, gtk_recent_chooser_widget, GTK_TYPE_VBOX, G_IMPLEMENT_INTERFACE (GTK_TYPE_RECENT_CHOOSER, - _gtk_recent_chooser_delegate_iface_init)); + _gtk_recent_chooser_delegate_iface_init)) static void gtk_recent_chooser_widget_class_init (GtkRecentChooserWidgetClass *klass) diff --git a/gtk/gtkrecentfilter.c b/gtk/gtkrecentfilter.c index 375320b6d..0d7c40638 100644 --- a/gtk/gtkrecentfilter.c +++ b/gtk/gtkrecentfilter.c @@ -83,7 +83,7 @@ struct _FilterRule } u; }; -G_DEFINE_TYPE (GtkRecentFilter, gtk_recent_filter, GTK_TYPE_OBJECT); +G_DEFINE_TYPE (GtkRecentFilter, gtk_recent_filter, GTK_TYPE_OBJECT) static void diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c index 54110ec80..67e0617a8 100644 --- a/gtk/gtkrecentmanager.c +++ b/gtk/gtkrecentmanager.c @@ -150,7 +150,7 @@ static void gtk_recent_info_free (GtkRecentInfo *re static guint signal_changed = 0; -G_DEFINE_TYPE (GtkRecentManager, gtk_recent_manager, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkRecentManager, gtk_recent_manager, G_TYPE_OBJECT) static void filename_warning (const gchar *format, diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c index 1655d1888..7bc3d74b5 100644 --- a/gtk/gtkruler.c +++ b/gtk/gtkruler.c @@ -62,7 +62,7 @@ static const GtkRulerMetric ruler_metrics[] = { "Centimeters", "Cn", 28.35, { 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000 }, { 1, 5, 10, 50, 100 }}, }; -G_DEFINE_TYPE (GtkRuler, gtk_ruler, GTK_TYPE_WIDGET); +G_DEFINE_TYPE (GtkRuler, gtk_ruler, GTK_TYPE_WIDGET) static void gtk_ruler_class_init (GtkRulerClass *class) diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index 6786ca5f7..7cce057b9 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -81,7 +81,7 @@ static void gtk_scale_finalize (GObject *object); static void gtk_scale_screen_changed (GtkWidget *widget, GdkScreen *old_screen); -G_DEFINE_ABSTRACT_TYPE (GtkScale, gtk_scale, GTK_TYPE_RANGE); +G_DEFINE_ABSTRACT_TYPE (GtkScale, gtk_scale, GTK_TYPE_RANGE) static gboolean single_string_accumulator (GSignalInvocationHint *ihint, diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c index 04ac0d9ea..3929e4e56 100644 --- a/gtk/gtkscrollbar.c +++ b/gtk/gtkscrollbar.c @@ -34,7 +34,7 @@ static void gtk_scrollbar_style_set (GtkWidget *widget, GtkStyle *previous); -G_DEFINE_ABSTRACT_TYPE (GtkScrollbar, gtk_scrollbar, GTK_TYPE_RANGE); +G_DEFINE_ABSTRACT_TYPE (GtkScrollbar, gtk_scrollbar, GTK_TYPE_RANGE) static void gtk_scrollbar_class_init (GtkScrollbarClass *class) diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 87ecb000d..da1f77190 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -146,7 +146,7 @@ static void gtk_scrolled_window_update_real_placement (GtkScrolledWindow *scro static guint signals[LAST_SIGNAL] = {0}; -G_DEFINE_TYPE (GtkScrolledWindow, gtk_scrolled_window, GTK_TYPE_BIN); +G_DEFINE_TYPE (GtkScrolledWindow, gtk_scrolled_window, GTK_TYPE_BIN) static void add_scroll_binding (GtkBindingSet *binding_set, diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c index 9ee2b1b33..b87519ca7 100644 --- a/gtk/gtkseparator.c +++ b/gtk/gtkseparator.c @@ -30,7 +30,7 @@ #include "gtkalias.h" -G_DEFINE_ABSTRACT_TYPE (GtkSeparator, gtk_separator, GTK_TYPE_WIDGET); +G_DEFINE_ABSTRACT_TYPE (GtkSeparator, gtk_separator, GTK_TYPE_WIDGET) static void gtk_separator_class_init (GtkSeparatorClass *class) diff --git a/gtk/gtkseparatormenuitem.c b/gtk/gtkseparatormenuitem.c index 4077b4479..49fe3e763 100644 --- a/gtk/gtkseparatormenuitem.c +++ b/gtk/gtkseparatormenuitem.c @@ -28,7 +28,7 @@ #include "gtkseparatormenuitem.h" #include "gtkalias.h" -G_DEFINE_TYPE(GtkSeparatorMenuItem, gtk_separator_menu_item, GTK_TYPE_MENU_ITEM); +G_DEFINE_TYPE (GtkSeparatorMenuItem, gtk_separator_menu_item, GTK_TYPE_MENU_ITEM) static void gtk_separator_menu_item_class_init (GtkSeparatorMenuItemClass *class) diff --git a/gtk/gtkseparatortoolitem.c b/gtk/gtkseparatortoolitem.c index 0cb800666..7d2331e09 100644 --- a/gtk/gtkseparatortoolitem.c +++ b/gtk/gtkseparatortoolitem.c @@ -62,7 +62,7 @@ struct _GtkSeparatorToolItemPrivate guint draw : 1; }; -G_DEFINE_TYPE (GtkSeparatorToolItem, gtk_separator_tool_item, GTK_TYPE_TOOL_ITEM); +G_DEFINE_TYPE (GtkSeparatorToolItem, gtk_separator_tool_item, GTK_TYPE_TOOL_ITEM) static gint get_space_size (GtkToolItem *tool_item) diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 17f96a6dd..ed4f6019b 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -134,7 +134,7 @@ static GSList *object_list = NULL; static guint class_n_properties = 0; -G_DEFINE_TYPE (GtkSettings, gtk_settings, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkSettings, gtk_settings, G_TYPE_OBJECT) /* --- functions --- */ static void diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c index 8e38934c0..c1e4f6831 100644 --- a/gtk/gtksizegroup.c +++ b/gtk/gtksizegroup.c @@ -301,7 +301,7 @@ gtk_size_group_init (GtkSizeGroup *size_group) size_group->ignore_hidden = 0; } -G_DEFINE_TYPE (GtkSizeGroup, gtk_size_group, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkSizeGroup, gtk_size_group, G_TYPE_OBJECT) static void gtk_size_group_set_property (GObject *object, diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index fc65323ff..8f54f5880 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -98,7 +98,7 @@ _gtk_socket_get_private (GtkSocket *socket) return G_TYPE_INSTANCE_GET_PRIVATE (socket, GTK_TYPE_SOCKET, GtkSocketPrivate); } -G_DEFINE_TYPE (GtkSocket, gtk_socket, GTK_TYPE_CONTAINER); +G_DEFINE_TYPE (GtkSocket, gtk_socket, GTK_TYPE_CONTAINER) static void gtk_socket_finalize (GObject *object) diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index fe832aa7b..c024ecd6c 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -146,7 +146,7 @@ static guint spinbutton_signals[LAST_SIGNAL] = {0}; G_DEFINE_TYPE_WITH_CODE (GtkSpinButton, gtk_spin_button, GTK_TYPE_ENTRY, G_IMPLEMENT_INTERFACE (GTK_TYPE_EDITABLE, - gtk_spin_button_editable_init)); + gtk_spin_button_editable_init)) #define add_spin_binding(binding_set, keyval, mask, scroll) \ gtk_binding_entry_add_signal (binding_set, keyval, mask, \ diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c index 22a448112..d6115dd75 100644 --- a/gtk/gtkstatusbar.c +++ b/gtk/gtkstatusbar.c @@ -94,7 +94,7 @@ static void label_selectable_changed (GtkWidget *label, static guint statusbar_signals[SIGNAL_LAST] = { 0 }; -G_DEFINE_TYPE (GtkStatusbar, gtk_statusbar, GTK_TYPE_HBOX); +G_DEFINE_TYPE (GtkStatusbar, gtk_statusbar, GTK_TYPE_HBOX) static void gtk_statusbar_class_init (GtkStatusbarClass *class) diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index 865c2268f..22a9395df 100755 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -129,7 +129,7 @@ static void gtk_status_icon_reset_image_data (GtkStatusIcon *status_icon); static guint status_icon_signals [LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkStatusIcon, gtk_status_icon, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkStatusIcon, gtk_status_icon, G_TYPE_OBJECT) static void gtk_status_icon_class_init (GtkStatusIconClass *class) diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index 092d1c150..b9cd1aedc 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -357,7 +357,7 @@ static const GdkColor gtk_default_active_base = { 0, GTK_VERY_DARK_GRAY }; static guint realize_signal = 0; static guint unrealize_signal = 0; -G_DEFINE_TYPE (GtkStyle, gtk_style, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkStyle, gtk_style, G_TYPE_OBJECT) /* --- functions --- */ diff --git a/gtk/gtktable.c b/gtk/gtktable.c index 05035356e..f34782331 100644 --- a/gtk/gtktable.c +++ b/gtk/gtktable.c @@ -98,7 +98,7 @@ static void gtk_table_size_allocate_pass1 (GtkTable *table); static void gtk_table_size_allocate_pass2 (GtkTable *table); -G_DEFINE_TYPE (GtkTable, gtk_table, GTK_TYPE_CONTAINER); +G_DEFINE_TYPE (GtkTable, gtk_table, GTK_TYPE_CONTAINER) static void gtk_table_class_init (GtkTableClass *class) diff --git a/gtk/gtktearoffmenuitem.c b/gtk/gtktearoffmenuitem.c index 6e07fc370..0148cd276 100644 --- a/gtk/gtktearoffmenuitem.c +++ b/gtk/gtktearoffmenuitem.c @@ -43,7 +43,7 @@ static void gtk_tearoff_menu_item_activate (GtkMenuItem *menu_item); static void gtk_tearoff_menu_item_parent_set (GtkWidget *widget, GtkWidget *previous); -G_DEFINE_TYPE (GtkTearoffMenuItem, gtk_tearoff_menu_item, GTK_TYPE_MENU_ITEM); +G_DEFINE_TYPE (GtkTearoffMenuItem, gtk_tearoff_menu_item, GTK_TYPE_MENU_ITEM) GtkWidget* gtk_tearoff_menu_item_new (void) diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index 3ab7602bb..fa7f4980c 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -151,7 +151,7 @@ static void gtk_text_buffer_get_property (GObject *object, static void gtk_text_buffer_notify (GObject *object, GParamSpec *pspec); -G_DEFINE_TYPE (GtkTextBuffer, gtk_text_buffer, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkTextBuffer, gtk_text_buffer, G_TYPE_OBJECT) static void gtk_text_buffer_class_init (GtkTextBufferClass *klass) diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c index a63f98074..c952d4c1e 100644 --- a/gtk/gtktextchild.c +++ b/gtk/gtktextchild.c @@ -306,7 +306,7 @@ _gtk_anchored_child_set_layout (GtkWidget *child, static void gtk_text_child_anchor_finalize (GObject *obj); -G_DEFINE_TYPE (GtkTextChildAnchor, gtk_text_child_anchor, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkTextChildAnchor, gtk_text_child_anchor, G_TYPE_OBJECT) static void gtk_text_child_anchor_init (GtkTextChildAnchor *child_anchor) diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index f96b9c273..42c3b83ee 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -161,7 +161,7 @@ static guint signals[LAST_SIGNAL] = { 0 }; PangoAttrType gtk_text_attr_appearance_type = 0; -G_DEFINE_TYPE (GtkTextLayout, gtk_text_layout, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkTextLayout, gtk_text_layout, G_TYPE_OBJECT) static void gtk_text_layout_class_init (GtkTextLayoutClass *klass) diff --git a/gtk/gtktextmark.c b/gtk/gtktextmark.c index dd6b54311..281538e3f 100644 --- a/gtk/gtktextmark.c +++ b/gtk/gtktextmark.c @@ -55,7 +55,7 @@ static void gtk_text_mark_finalize (GObject *obj); -G_DEFINE_TYPE (GtkTextMark, gtk_text_mark, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkTextMark, gtk_text_mark, G_TYPE_OBJECT) static void gtk_text_mark_init (GtkTextMark *mark) diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c index 26ce902fd..5df48d3be 100644 --- a/gtk/gtktexttag.c +++ b/gtk/gtktexttag.c @@ -152,7 +152,7 @@ static void gtk_text_tag_get_property (GObject *object, static guint signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkTextTag, gtk_text_tag, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkTextTag, gtk_text_tag, G_TYPE_OBJECT) static void gtk_text_tag_class_init (GtkTextTagClass *klass) diff --git a/gtk/gtktexttagtable.c b/gtk/gtktexttagtable.c index 85642f342..6e7ed0365 100644 --- a/gtk/gtktexttagtable.c +++ b/gtk/gtktexttagtable.c @@ -56,7 +56,7 @@ static void gtk_text_tag_table_get_property (GObject *object, static guint signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkTextTagTable, gtk_text_tag_table, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkTextTagTable, gtk_text_tag_table, G_TYPE_OBJECT) static void gtk_text_tag_table_class_init (GtkTextTagTableClass *klass) diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 49b5dc247..0354f14de 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -418,7 +418,7 @@ static gint text_window_get_height (GtkTextWindow *win); static guint signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkTextView, gtk_text_view, GTK_TYPE_CONTAINER); +G_DEFINE_TYPE (GtkTextView, gtk_text_view, GTK_TYPE_CONTAINER) static void add_move_binding (GtkBindingSet *binding_set, diff --git a/gtk/gtktoggleaction.c b/gtk/gtktoggleaction.c index 826ec960c..470beaaa5 100644 --- a/gtk/gtktoggleaction.c +++ b/gtk/gtktoggleaction.c @@ -51,7 +51,7 @@ enum { PROP_ACTIVE }; -G_DEFINE_TYPE (GtkToggleAction, gtk_toggle_action, GTK_TYPE_ACTION); +G_DEFINE_TYPE (GtkToggleAction, gtk_toggle_action, GTK_TYPE_ACTION) static void gtk_toggle_action_activate (GtkAction *action); static void gtk_toggle_action_real_toggled (GtkToggleAction *action); diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c index 088198a7c..1003cb920 100644 --- a/gtk/gtktogglebutton.c +++ b/gtk/gtktogglebutton.c @@ -69,7 +69,7 @@ static void gtk_toggle_button_update_state (GtkButton *button); static guint toggle_button_signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkToggleButton, gtk_toggle_button, GTK_TYPE_BUTTON); +G_DEFINE_TYPE (GtkToggleButton, gtk_toggle_button, GTK_TYPE_BUTTON) static void gtk_toggle_button_class_init (GtkToggleButtonClass *class) diff --git a/gtk/gtktoggletoolbutton.c b/gtk/gtktoggletoolbutton.c index 4d956e356..4a8373320 100644 --- a/gtk/gtktoggletoolbutton.c +++ b/gtk/gtktoggletoolbutton.c @@ -69,7 +69,7 @@ static void menu_item_activated (GtkWidget *widget, static guint toggle_signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkToggleToolButton, gtk_toggle_tool_button, GTK_TYPE_TOOL_BUTTON); +G_DEFINE_TYPE (GtkToggleToolButton, gtk_toggle_tool_button, GTK_TYPE_TOOL_BUTTON) static void gtk_toggle_tool_button_class_init (GtkToggleToolButtonClass *klass) diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index 8aa4e5970..5fea5c8c8 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -304,7 +304,7 @@ static void toolbar_content_set_expand (ToolbarContent *content, static guint toolbar_signals [LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkToolbar, gtk_toolbar, GTK_TYPE_CONTAINER); +G_DEFINE_TYPE (GtkToolbar, gtk_toolbar, GTK_TYPE_CONTAINER) static void add_arrow_bindings (GtkBindingSet *binding_set, diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index cbd89264f..2cc39f264 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -95,9 +95,9 @@ static gboolean gtk_tool_item_real_set_tooltip (GtkToolItem *tool_item, static gboolean gtk_tool_item_create_menu_proxy (GtkToolItem *item); -static guint toolitem_signals[LAST_SIGNAL] = { 0 }; +static guint toolitem_signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkToolItem, gtk_tool_item, GTK_TYPE_BIN); +G_DEFINE_TYPE (GtkToolItem, gtk_tool_item, GTK_TYPE_BIN) static void gtk_tool_item_class_init (GtkToolItemClass *klass) diff --git a/gtk/gtktooltips.c b/gtk/gtktooltips.c index 1e8146b65..7de05c9f2 100644 --- a/gtk/gtktooltips.c +++ b/gtk/gtktooltips.c @@ -70,7 +70,7 @@ static gboolean get_keyboard_mode (GtkWidget *widget); static const gchar tooltips_data_key[] = "_GtkTooltipsData"; static const gchar tooltips_info_key[] = "_GtkTooltipsInfo"; -G_DEFINE_TYPE (GtkTooltips, gtk_tooltips, GTK_TYPE_OBJECT); +G_DEFINE_TYPE (GtkTooltips, gtk_tooltips, GTK_TYPE_OBJECT) static void gtk_tooltips_class_init (GtkTooltipsClass *class) diff --git a/gtk/gtktrayicon-win32.c b/gtk/gtktrayicon-win32.c index a3fc6b5fe..1a7d0244f 100644 --- a/gtk/gtktrayicon-win32.c +++ b/gtk/gtktrayicon-win32.c @@ -58,7 +58,7 @@ static void gtk_tray_icon_size_allocate (GtkWidget *widget, static void gtk_tray_icon_finalize (GObject *object); -G_DEFINE_TYPE (GtkTrayIcon, gtk_tray_icon, GTK_TYPE_PLUG); +G_DEFINE_TYPE (GtkTrayIcon, gtk_tray_icon, GTK_TYPE_PLUG) static void gtk_tray_icon_class_init (GtkTrayIconClass *class) diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c index aa3877425..47badf791 100755 --- a/gtk/gtktrayicon-x11.c +++ b/gtk/gtktrayicon-x11.c @@ -74,7 +74,7 @@ static void gtk_tray_icon_update_manager_window (GtkTrayIcon *icon, gboolean dock_if_realized); static void gtk_tray_icon_manager_window_destroyed (GtkTrayIcon *icon); -G_DEFINE_TYPE (GtkTrayIcon, gtk_tray_icon, GTK_TYPE_PLUG); +G_DEFINE_TYPE (GtkTrayIcon, gtk_tray_icon, GTK_TYPE_PLUG) static void gtk_tray_icon_class_init (GtkTrayIconClass *class) diff --git a/gtk/gtktreemodelfilter.c b/gtk/gtktreemodelfilter.c index 760b14f5e..38b87c4f9 100644 --- a/gtk/gtktreemodelfilter.c +++ b/gtk/gtktreemodelfilter.c @@ -278,7 +278,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkTreeModelFilter, gtk_tree_model_filter, G_TYPE_OBJEC G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_MODEL, gtk_tree_model_filter_tree_model_init) G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_DRAG_SOURCE, - gtk_tree_model_filter_drag_source_init)); + gtk_tree_model_filter_drag_source_init)) static void gtk_tree_model_filter_init (GtkTreeModelFilter *filter) diff --git a/gtk/gtktreemodelsort.c b/gtk/gtktreemodelsort.c index 9b6ed0a40..0a744aca7 100644 --- a/gtk/gtktreemodelsort.c +++ b/gtk/gtktreemodelsort.c @@ -243,7 +243,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkTreeModelSort, gtk_tree_model_sort, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_SORTABLE, gtk_tree_model_sort_tree_sortable_init) G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_DRAG_SOURCE, - gtk_tree_model_sort_drag_source_init)); + gtk_tree_model_sort_drag_source_init)) static void gtk_tree_model_sort_init (GtkTreeModelSort *tree_model_sort) diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c index 2fa67fa13..3e34244e7 100644 --- a/gtk/gtktreeselection.c +++ b/gtk/gtktreeselection.c @@ -42,7 +42,7 @@ enum static guint tree_selection_signals [LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkTreeSelection, gtk_tree_selection, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkTreeSelection, gtk_tree_selection, G_TYPE_OBJECT) static void gtk_tree_selection_class_init (GtkTreeSelectionClass *class) diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index 1534dab79..3f37f6e46 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -142,7 +142,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkTreeStore, gtk_tree_store, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_DRAG_DEST, gtk_tree_store_drag_dest_init) G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_SORTABLE, - gtk_tree_store_sortable_init)); + gtk_tree_store_sortable_init)) static void gtk_tree_store_class_init (GtkTreeStoreClass *class) diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index a0c69553e..c501a2ebd 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -463,7 +463,7 @@ static guint tree_view_signals [LAST_SIGNAL] = { 0 }; /* GType Methods */ -G_DEFINE_TYPE (GtkTreeView, gtk_tree_view, GTK_TYPE_CONTAINER); +G_DEFINE_TYPE (GtkTreeView, gtk_tree_view, GTK_TYPE_CONTAINER) static void gtk_tree_view_class_init (GtkTreeViewClass *class) diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 17b0f51e6..a6d1778d8 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -155,7 +155,7 @@ static guint tree_column_signals[LAST_SIGNAL] = { 0 }; G_DEFINE_TYPE_WITH_CODE (GtkTreeViewColumn, gtk_tree_view_column, GTK_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (GTK_TYPE_CELL_LAYOUT, - gtk_tree_view_column_cell_layout_init)); + gtk_tree_view_column_cell_layout_init)) static void gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class) diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c index 68e2f3359..3c6998ddc 100644 --- a/gtk/gtkuimanager.c +++ b/gtk/gtkuimanager.c @@ -163,7 +163,7 @@ enum static guint ui_manager_signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkUIManager, gtk_ui_manager, G_TYPE_OBJECT); +G_DEFINE_TYPE (GtkUIManager, gtk_ui_manager, G_TYPE_OBJECT) static void gtk_ui_manager_class_init (GtkUIManagerClass *klass) diff --git a/gtk/gtkvbbox.c b/gtk/gtkvbbox.c index 648ad3f09..076e6e9f7 100644 --- a/gtk/gtkvbbox.c +++ b/gtk/gtkvbbox.c @@ -38,7 +38,7 @@ static void gtk_vbutton_box_size_allocate (GtkWidget *widget, static gint default_spacing = 10; static GtkButtonBoxStyle default_layout_style = GTK_BUTTONBOX_EDGE; -G_DEFINE_TYPE (GtkVButtonBox, gtk_vbutton_box, GTK_TYPE_BUTTON_BOX); +G_DEFINE_TYPE (GtkVButtonBox, gtk_vbutton_box, GTK_TYPE_BUTTON_BOX) static void gtk_vbutton_box_class_init (GtkVButtonBoxClass *class) diff --git a/gtk/gtkvbox.c b/gtk/gtkvbox.c index 0473d8147..65633d812 100644 --- a/gtk/gtkvbox.c +++ b/gtk/gtkvbox.c @@ -35,7 +35,7 @@ static void gtk_vbox_size_request (GtkWidget *widget, static void gtk_vbox_size_allocate (GtkWidget *widget, GtkAllocation *allocation); -G_DEFINE_TYPE (GtkVBox, gtk_vbox, GTK_TYPE_BOX); +G_DEFINE_TYPE (GtkVBox, gtk_vbox, GTK_TYPE_BOX) static void gtk_vbox_class_init (GtkVBoxClass *class) diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c index d2c4495da..3d18da0c2 100644 --- a/gtk/gtkviewport.c +++ b/gtk/gtkviewport.c @@ -69,7 +69,7 @@ static void gtk_viewport_adjustment_value_changed (GtkAdjustment *adjustment, static void gtk_viewport_style_set (GtkWidget *widget, GtkStyle *previous_style); -G_DEFINE_TYPE (GtkViewport, gtk_viewport, GTK_TYPE_BIN); +G_DEFINE_TYPE (GtkViewport, gtk_viewport, GTK_TYPE_BIN) static void gtk_viewport_class_init (GtkViewportClass *class) diff --git a/gtk/gtkvpaned.c b/gtk/gtkvpaned.c index ba5e4c3de..b4c92703c 100644 --- a/gtk/gtkvpaned.c +++ b/gtk/gtkvpaned.c @@ -34,7 +34,7 @@ static void gtk_vpaned_size_request (GtkWidget *widget, static void gtk_vpaned_size_allocate (GtkWidget *widget, GtkAllocation *allocation); -G_DEFINE_TYPE (GtkVPaned, gtk_vpaned, GTK_TYPE_PANED); +G_DEFINE_TYPE (GtkVPaned, gtk_vpaned, GTK_TYPE_PANED) static void gtk_vpaned_class_init (GtkVPanedClass *class) diff --git a/gtk/gtkvruler.c b/gtk/gtkvruler.c index 009004a63..0c08c1866 100644 --- a/gtk/gtkvruler.c +++ b/gtk/gtkvruler.c @@ -47,7 +47,7 @@ static gint gtk_vruler_motion_notify (GtkWidget *widget, static void gtk_vruler_draw_ticks (GtkRuler *ruler); static void gtk_vruler_draw_pos (GtkRuler *ruler); -G_DEFINE_TYPE (GtkVRuler, gtk_vruler, GTK_TYPE_RULER); +G_DEFINE_TYPE (GtkVRuler, gtk_vruler, GTK_TYPE_RULER) static void gtk_vruler_class_init (GtkVRulerClass *klass) diff --git a/gtk/gtkvscale.c b/gtk/gtkvscale.c index e0dc9835c..a9c02142e 100644 --- a/gtk/gtkvscale.c +++ b/gtk/gtkvscale.c @@ -41,7 +41,7 @@ static void gtk_vscale_get_layout_offsets (GtkScale *scale, gint *x, gint *y); -G_DEFINE_TYPE (GtkVScale, gtk_vscale, GTK_TYPE_SCALE); +G_DEFINE_TYPE (GtkVScale, gtk_vscale, GTK_TYPE_SCALE) static void gtk_vscale_class_init (GtkVScaleClass *class) diff --git a/gtk/gtkvscrollbar.c b/gtk/gtkvscrollbar.c index e4c2a0839..eaa4417fb 100644 --- a/gtk/gtkvscrollbar.c +++ b/gtk/gtkvscrollbar.c @@ -31,7 +31,7 @@ #include "gtkintl.h" #include "gtkalias.h" -G_DEFINE_TYPE (GtkVScrollbar, gtk_vscrollbar, GTK_TYPE_SCROLLBAR); +G_DEFINE_TYPE (GtkVScrollbar, gtk_vscrollbar, GTK_TYPE_SCROLLBAR) static void gtk_vscrollbar_class_init (GtkVScrollbarClass *class) diff --git a/gtk/gtkvseparator.c b/gtk/gtkvseparator.c index 800321a6d..e401ec7e7 100644 --- a/gtk/gtkvseparator.c +++ b/gtk/gtkvseparator.c @@ -36,7 +36,7 @@ static gint gtk_vseparator_expose (GtkWidget *widget, GdkEventExpose *event); -G_DEFINE_TYPE (GtkVSeparator, gtk_vseparator, GTK_TYPE_SEPARATOR); +G_DEFINE_TYPE (GtkVSeparator, gtk_vseparator, GTK_TYPE_SEPARATOR) static void gtk_vseparator_class_init (GtkVSeparatorClass *klass) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 620bb1e30..66073b0b6 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -260,7 +260,7 @@ GObjectNotifyContext *_gtk_widget_child_property_notify_context = NULL; /* --- functions --- */ G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GtkWidget, gtk_widget, GTK_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (ATK_TYPE_IMPLEMENTOR, - gtk_widget_accessible_interface_init)); + gtk_widget_accessible_interface_init)) static void child_property_notify_dispatcher (GObject *object, diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index a8a75caf7..93b9d6154 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -308,7 +308,7 @@ static void gtk_window_get_property (GObject *object, GParamSpec *pspec); -G_DEFINE_TYPE (GtkWindow, gtk_window, GTK_TYPE_BIN); +G_DEFINE_TYPE (GtkWindow, gtk_window, GTK_TYPE_BIN) static void add_tab_bindings (GtkBindingSet *binding_set, |