mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
examples/gtkdial/gtkdial.c gdk/gdkapplaunchcontext.c gdk/gdkpango.c
2008-08-12 Michael Natterer <mitch@imendio.com> * examples/gtkdial/gtkdial.c * gdk/gdkapplaunchcontext.c * gdk/gdkpango.c * gtk/gtkcellrendererpixbuf.c * gtk/gtkcellrenderertext.c * gtk/gtkcellview.c * gtk/gtkcombobox.c * gtk/gtkfontsel.c * gtk/gtkinvisible.c * gtk/gtkliststore.c * gtk/gtktexttag.c * gtk/gtktexttagtable.c: remove dereferencing from some function pointers i missed before. svn path=/trunk/; revision=21089
This commit is contained in:
parent
d9d3379698
commit
b2d286d5bf
16
ChangeLog
16
ChangeLog
@ -1,3 +1,19 @@
|
||||
2008-08-12 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* examples/gtkdial/gtkdial.c
|
||||
* gdk/gdkapplaunchcontext.c
|
||||
* gdk/gdkpango.c
|
||||
* gtk/gtkcellrendererpixbuf.c
|
||||
* gtk/gtkcellrenderertext.c
|
||||
* gtk/gtkcellview.c
|
||||
* gtk/gtkcombobox.c
|
||||
* gtk/gtkfontsel.c
|
||||
* gtk/gtkinvisible.c
|
||||
* gtk/gtkliststore.c
|
||||
* gtk/gtktexttag.c
|
||||
* gtk/gtktexttagtable.c: remove dereferencing from some function
|
||||
pointers i missed before.
|
||||
|
||||
2008-08-12 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkaccellabel.c
|
||||
|
@ -152,8 +152,7 @@ gtk_dial_destroy (GtkObject *object)
|
||||
dial->adjustment = NULL;
|
||||
}
|
||||
|
||||
if (GTK_OBJECT_CLASS (parent_class)->destroy)
|
||||
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
|
||||
GTK_OBJECT_CLASS (parent_class)->destroy (object);
|
||||
}
|
||||
|
||||
GtkAdjustment*
|
||||
|
@ -55,7 +55,7 @@ gdk_app_launch_context_finalize (GObject *object)
|
||||
|
||||
g_free (priv->icon_name);
|
||||
|
||||
(*G_OBJECT_CLASS (gdk_app_launch_context_parent_class)->finalize) (object);
|
||||
G_OBJECT_CLASS (gdk_app_launch_context_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static char *
|
||||
|
@ -99,9 +99,9 @@ gdk_pango_renderer_constructor (GType type,
|
||||
GObject *object;
|
||||
GdkPangoRenderer *gdk_renderer;
|
||||
|
||||
object = (* G_OBJECT_CLASS (gdk_pango_renderer_parent_class)->constructor) (type,
|
||||
n_construct_properties,
|
||||
construct_params);
|
||||
object = G_OBJECT_CLASS (gdk_pango_renderer_parent_class)->constructor (type,
|
||||
n_construct_properties,
|
||||
construct_params);
|
||||
|
||||
gdk_renderer = GDK_PANGO_RENDERER (object);
|
||||
|
||||
|
@ -234,7 +234,7 @@ gtk_cell_renderer_pixbuf_finalize (GObject *object)
|
||||
if (priv->gicon)
|
||||
g_object_unref (priv->gicon);
|
||||
|
||||
(* G_OBJECT_CLASS (gtk_cell_renderer_pixbuf_parent_class)->finalize) (object);
|
||||
G_OBJECT_CLASS (gtk_cell_renderer_pixbuf_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -605,7 +605,7 @@ gtk_cell_renderer_text_finalize (GObject *object)
|
||||
if (priv->language)
|
||||
g_object_unref (priv->language);
|
||||
|
||||
(* G_OBJECT_CLASS (gtk_cell_renderer_text_parent_class)->finalize) (object);
|
||||
G_OBJECT_CLASS (gtk_cell_renderer_text_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static PangoFontMask
|
||||
|
@ -306,7 +306,7 @@ gtk_cell_view_finalize (GObject *object)
|
||||
if (cellview->priv->displayed_row)
|
||||
gtk_tree_row_reference_free (cellview->priv->displayed_row);
|
||||
|
||||
(* G_OBJECT_CLASS (gtk_cell_view_parent_class)->finalize) (object);
|
||||
G_OBJECT_CLASS (gtk_cell_view_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1720,8 +1720,8 @@ tree_column_row_is_sensitive (GtkComboBox *combo_box,
|
||||
|
||||
if (priv->row_separator_func)
|
||||
{
|
||||
if ((*priv->row_separator_func) (priv->model, iter,
|
||||
priv->row_separator_data))
|
||||
if (priv->row_separator_func (priv->model, iter,
|
||||
priv->row_separator_data))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@ -2902,8 +2902,8 @@ gtk_combo_box_menu_fill_level (GtkComboBox *combo_box,
|
||||
gtk_tree_model_iter_nth_child (model, &iter, parent, i);
|
||||
|
||||
if (priv->row_separator_func)
|
||||
is_separator = (*priv->row_separator_func) (priv->model, &iter,
|
||||
priv->row_separator_data);
|
||||
is_separator = priv->row_separator_func (priv->model, &iter,
|
||||
priv->row_separator_data);
|
||||
else
|
||||
is_separator = FALSE;
|
||||
|
||||
@ -3463,8 +3463,8 @@ gtk_combo_box_menu_row_inserted (GtkTreeModel *model,
|
||||
}
|
||||
|
||||
if (priv->row_separator_func)
|
||||
is_separator = (*priv->row_separator_func) (model, iter,
|
||||
priv->row_separator_data);
|
||||
is_separator = priv->row_separator_func (model, iter,
|
||||
priv->row_separator_data);
|
||||
else
|
||||
is_separator = FALSE;
|
||||
|
||||
@ -3555,8 +3555,8 @@ gtk_combo_box_menu_row_changed (GtkTreeModel *model,
|
||||
item = find_menu_by_path (priv->popup_widget, path, FALSE);
|
||||
|
||||
if (priv->row_separator_func)
|
||||
is_separator = (*priv->row_separator_func) (model, iter,
|
||||
priv->row_separator_data);
|
||||
is_separator = priv->row_separator_func (model, iter,
|
||||
priv->row_separator_data);
|
||||
else
|
||||
is_separator = FALSE;
|
||||
|
||||
@ -4357,8 +4357,8 @@ combo_cell_data_func (GtkCellLayout *cell_layout,
|
||||
if (!info->func)
|
||||
return;
|
||||
|
||||
(*info->func) (cell_layout, cell, tree_model, iter, info->func_data);
|
||||
|
||||
info->func (cell_layout, cell, tree_model, iter, info->func_data);
|
||||
|
||||
if (GTK_IS_WIDGET (cell_layout))
|
||||
parent = gtk_widget_get_parent (GTK_WIDGET (cell_layout));
|
||||
|
||||
@ -5214,7 +5214,7 @@ gtk_combo_box_get_active_text (GtkComboBox *combo_box)
|
||||
class = GTK_COMBO_BOX_GET_CLASS (combo_box);
|
||||
|
||||
if (class->get_active_text)
|
||||
return (* class->get_active_text) (combo_box);
|
||||
return class->get_active_text (combo_box);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
@ -5353,7 +5353,7 @@ gtk_combo_box_destroy (GtkObject *object)
|
||||
gtk_combo_box_popdown (combo_box);
|
||||
|
||||
if (combo_box->priv->row_separator_destroy)
|
||||
(* combo_box->priv->row_separator_destroy) (combo_box->priv->row_separator_data);
|
||||
combo_box->priv->row_separator_destroy (combo_box->priv->row_separator_data);
|
||||
|
||||
combo_box->priv->row_separator_func = NULL;
|
||||
combo_box->priv->row_separator_data = NULL;
|
||||
@ -5720,7 +5720,7 @@ gtk_combo_box_set_row_separator_func (GtkComboBox *combo_box,
|
||||
g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
|
||||
|
||||
if (combo_box->priv->row_separator_destroy)
|
||||
(* combo_box->priv->row_separator_destroy) (combo_box->priv->row_separator_data);
|
||||
combo_box->priv->row_separator_destroy (combo_box->priv->row_separator_data);
|
||||
|
||||
combo_box->priv->row_separator_func = func;
|
||||
combo_box->priv->row_separator_data = data;
|
||||
|
@ -559,8 +559,8 @@ gtk_font_selection_finalize (GObject *object)
|
||||
|
||||
if (fontsel->font)
|
||||
gdk_font_unref (fontsel->font);
|
||||
|
||||
(* G_OBJECT_CLASS (gtk_font_selection_parent_class)->finalize) (object);
|
||||
|
||||
G_OBJECT_CLASS (gtk_font_selection_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -312,9 +312,9 @@ gtk_invisible_constructor (GType type,
|
||||
{
|
||||
GObject *object;
|
||||
|
||||
object = (* G_OBJECT_CLASS (gtk_invisible_parent_class)->constructor) (type,
|
||||
n_construct_properties,
|
||||
construct_params);
|
||||
object = G_OBJECT_CLASS (gtk_invisible_parent_class)->constructor (type,
|
||||
n_construct_properties,
|
||||
construct_params);
|
||||
|
||||
gtk_widget_realize (GTK_WIDGET (object));
|
||||
|
||||
|
@ -399,8 +399,7 @@ gtk_list_store_finalize (GObject *object)
|
||||
list_store->default_sort_data = NULL;
|
||||
}
|
||||
|
||||
/* must chain up */
|
||||
(* G_OBJECT_CLASS (gtk_list_store_parent_class)->finalize) (object);
|
||||
G_OBJECT_CLASS (gtk_list_store_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
/* Fulfill the GtkTreeModel requirements */
|
||||
|
@ -744,7 +744,7 @@ gtk_text_tag_finalize (GObject *object)
|
||||
g_free (text_tag->name);
|
||||
text_tag->name = NULL;
|
||||
|
||||
(* G_OBJECT_CLASS (gtk_text_tag_parent_class)->finalize) (object);
|
||||
G_OBJECT_CLASS (gtk_text_tag_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -162,8 +162,8 @@ gtk_text_tag_table_finalize (GObject *object)
|
||||
g_slist_free (table->anonymous);
|
||||
|
||||
g_slist_free (table->buffers);
|
||||
|
||||
(* G_OBJECT_CLASS (gtk_text_tag_table_parent_class)->finalize) (object);
|
||||
|
||||
G_OBJECT_CLASS (gtk_text_tag_table_parent_class)->finalize (object);
|
||||
}
|
||||
static void
|
||||
gtk_text_tag_table_set_property (GObject *object,
|
||||
|
Loading…
Reference in New Issue
Block a user