diff options
author | Manish Singh <yosh@gimp.org> | 2004-11-19 23:18:38 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2004-11-19 23:18:38 +0000 |
commit | 60b30ff5136acffc66b9e4fe27fb2509011ca896 (patch) | |
tree | 73de26d8daab28fad8341e7774d583afabc98d11 /gtk/gtkcellview.c | |
parent | 3d325e30d90af932c29a7fa90c9dc44c87237905 (diff) | |
download | gtk+-60b30ff5136acffc66b9e4fe27fb2509011ca896.tar.gz |
gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.c
Fri Nov 19 14:54:09 2004 Manish Singh <yosh@gimp.org>
* gdk/linux-fb/gdkgc-fb.c
* gdk/win32/gdkgc-win32.c
* gdk/win32/gdkwindow-win32.c
* gtk/gtkaboutdialog.c
* gtk/gtkaction.c
* gtk/gtkactiongroup.c
* gtk/gtkcellrendererprogress.c
* gtk/gtkcellview.c
* gtk/gtkcolorbutton.c
* gtk/gtkcombobox.c
* gtk/gtkcomboboxentry.c
* gtk/gtkentrycompletion.c
* gtk/gtkfilechooserbutton.c
* gtk/gtkmenutoolbutton.c
* gtk/gtkrc.c
* gtk/gtksettings.c
* gtk/gtkstyle.c
* gtk/gtktoggletoolbutton.c
* gtk/gtktoolbutton.c
* gtk/gtktoolitem.c
* gtk/gtktreemodelfilter.c
* gtk/gtktreeselection.c
* gtk/gtktreeviewcolumn.c
* gtk/gtkuimanager.c: get rid of unnecessary casts.
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
cast away the const for g_value_set_enum. This is after the g_warning,
so this is a hack to begin with.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
add a cast to GTK_FILE_CHOOSER for impl here.
Diffstat (limited to 'gtk/gtkcellview.c')
-rw-r--r-- | gtk/gtkcellview.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c index ed3450df9b..e878fabd5f 100644 --- a/gtk/gtkcellview.c +++ b/gtk/gtkcellview.c @@ -442,7 +442,7 @@ gtk_cell_view_expose (GtkWidget *widget, widget->allocation.width, widget->allocation.height); - g_object_unref (G_OBJECT (gc)); + g_object_unref (gc); } /* set cell data (if available) */ @@ -594,7 +594,7 @@ gtk_cell_view_cell_layout_pack_start (GtkCellLayout *layout, g_return_if_fail (GTK_IS_CELL_RENDERER (renderer)); g_return_if_fail (!gtk_cell_view_get_cell_info (cellview, renderer)); - g_object_ref (G_OBJECT (renderer)); + g_object_ref (renderer); gtk_object_sink (GTK_OBJECT (renderer)); info = g_new0 (GtkCellViewCellInfo, 1); @@ -617,7 +617,7 @@ gtk_cell_view_cell_layout_pack_end (GtkCellLayout *layout, g_return_if_fail (GTK_IS_CELL_RENDERER (renderer)); g_return_if_fail (!gtk_cell_view_get_cell_info (cellview, renderer)); - g_object_ref (G_OBJECT (renderer)); + g_object_ref (renderer); gtk_object_sink (GTK_OBJECT (renderer)); info = g_new0 (GtkCellViewCellInfo, 1); @@ -659,7 +659,7 @@ gtk_cell_view_cell_layout_clear (GtkCellLayout *layout) GtkCellViewCellInfo *info = (GtkCellViewCellInfo *)cellview->priv->cell_list->data; gtk_cell_view_cell_layout_clear_attributes (layout, info->cell); - g_object_unref (G_OBJECT (info->cell)); + g_object_unref (info->cell); g_free (info); cellview->priv->cell_list = g_list_delete_link (cellview->priv->cell_list, cellview->priv->cell_list); @@ -763,7 +763,7 @@ gtk_cell_view_new (void) { GtkCellView *cellview; - cellview = GTK_CELL_VIEW (g_object_new (gtk_cell_view_get_type (), NULL)); + cellview = g_object_new (gtk_cell_view_get_type (), NULL); return GTK_WIDGET (cellview); } @@ -964,14 +964,14 @@ gtk_cell_view_set_model (GtkCellView *cell_view, gtk_tree_row_reference_free (cell_view->priv->displayed_row); cell_view->priv->displayed_row = NULL; - g_object_unref (G_OBJECT (cell_view->priv->model)); + g_object_unref (cell_view->priv->model); cell_view->priv->model = NULL; } cell_view->priv->model = model; if (cell_view->priv->model) - g_object_ref (G_OBJECT (cell_view->priv->model)); + g_object_ref (cell_view->priv->model); } /** |