Fix the doc formatting.
2004-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the doc formatting. * gtk/gtkcellview.[hc]: Make function parameter names consistent.
This commit is contained in:
parent
9095a44578
commit
e18bbad7d7
@ -1,5 +1,10 @@
|
|||||||
2004-10-25 Matthias Clasen <mclasen@redhat.com>
|
2004-10-25 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the
|
||||||
|
doc formatting.
|
||||||
|
|
||||||
|
* gtk/gtkcellview.[hc]: Make function parameter names consistent.
|
||||||
|
|
||||||
* tests/Makefile.am (noinst_PROGRAMS): Add testimage.
|
* tests/Makefile.am (noinst_PROGRAMS): Add testimage.
|
||||||
|
|
||||||
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
|
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
2004-10-25 Matthias Clasen <mclasen@redhat.com>
|
2004-10-25 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the
|
||||||
|
doc formatting.
|
||||||
|
|
||||||
|
* gtk/gtkcellview.[hc]: Make function parameter names consistent.
|
||||||
|
|
||||||
* tests/Makefile.am (noinst_PROGRAMS): Add testimage.
|
* tests/Makefile.am (noinst_PROGRAMS): Add testimage.
|
||||||
|
|
||||||
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
|
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
2004-10-25 Matthias Clasen <mclasen@redhat.com>
|
2004-10-25 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the
|
||||||
|
doc formatting.
|
||||||
|
|
||||||
|
* gtk/gtkcellview.[hc]: Make function parameter names consistent.
|
||||||
|
|
||||||
* tests/Makefile.am (noinst_PROGRAMS): Add testimage.
|
* tests/Makefile.am (noinst_PROGRAMS): Add testimage.
|
||||||
|
|
||||||
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
|
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
2004-10-25 Matthias Clasen <mclasen@redhat.com>
|
2004-10-25 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the
|
||||||
|
doc formatting.
|
||||||
|
|
||||||
|
* gtk/gtkcellview.[hc]: Make function parameter names consistent.
|
||||||
|
|
||||||
* tests/Makefile.am (noinst_PROGRAMS): Add testimage.
|
* tests/Makefile.am (noinst_PROGRAMS): Add testimage.
|
||||||
|
|
||||||
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
|
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
|
||||||
|
@ -535,22 +535,22 @@ gtk_cell_view_get_cell_info (GtkCellView *cellview,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_cell_view_set_cell_data (GtkCellView *cellview)
|
gtk_cell_view_set_cell_data (GtkCellView *cell_view)
|
||||||
{
|
{
|
||||||
GList *i;
|
GList *i;
|
||||||
GtkTreeIter iter;
|
GtkTreeIter iter;
|
||||||
GtkTreePath *path;
|
GtkTreePath *path;
|
||||||
|
|
||||||
g_return_if_fail (cellview->priv->displayed_row != NULL);
|
g_return_if_fail (cell_view->priv->displayed_row != NULL);
|
||||||
|
|
||||||
path = gtk_tree_row_reference_get_path (cellview->priv->displayed_row);
|
path = gtk_tree_row_reference_get_path (cell_view->priv->displayed_row);
|
||||||
if (!path)
|
if (!path)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
gtk_tree_model_get_iter (cellview->priv->model, &iter, path);
|
gtk_tree_model_get_iter (cell_view->priv->model, &iter, path);
|
||||||
gtk_tree_path_free (path);
|
gtk_tree_path_free (path);
|
||||||
|
|
||||||
for (i = cellview->priv->cell_list; i; i = i->next)
|
for (i = cell_view->priv->cell_list; i; i = i->next)
|
||||||
{
|
{
|
||||||
GSList *j;
|
GSList *j;
|
||||||
GtkCellViewCellInfo *info = i->data;
|
GtkCellViewCellInfo *info = i->data;
|
||||||
@ -563,7 +563,7 @@ gtk_cell_view_set_cell_data (GtkCellView *cellview)
|
|||||||
gint column = GPOINTER_TO_INT (j->next->data);
|
gint column = GPOINTER_TO_INT (j->next->data);
|
||||||
GValue value = {0, };
|
GValue value = {0, };
|
||||||
|
|
||||||
gtk_tree_model_get_value (cellview->priv->model, &iter,
|
gtk_tree_model_get_value (cell_view->priv->model, &iter,
|
||||||
column, &value);
|
column, &value);
|
||||||
g_object_set_property (G_OBJECT (info->cell),
|
g_object_set_property (G_OBJECT (info->cell),
|
||||||
property, &value);
|
property, &value);
|
||||||
@ -571,9 +571,9 @@ gtk_cell_view_set_cell_data (GtkCellView *cellview)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (info->func)
|
if (info->func)
|
||||||
(* info->func) (GTK_CELL_LAYOUT (cellview),
|
(* info->func) (GTK_CELL_LAYOUT (cell_view),
|
||||||
info->cell,
|
info->cell,
|
||||||
cellview->priv->model,
|
cell_view->priv->model,
|
||||||
&iter,
|
&iter,
|
||||||
info->func_data);
|
info->func_data);
|
||||||
|
|
||||||
@ -1064,7 +1064,7 @@ gtk_cell_view_get_size_of_row (GtkCellView *cell_view,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_cell_view_set_background_color:
|
* gtk_cell_view_set_background_color:
|
||||||
* @view: a #GtkCellView
|
* @cell_view: a #GtkCellView
|
||||||
* @color: the new background color
|
* @color: the new background color
|
||||||
*
|
*
|
||||||
* Sets the background color of @view.
|
* Sets the background color of @view.
|
||||||
@ -1072,27 +1072,27 @@ gtk_cell_view_get_size_of_row (GtkCellView *cell_view,
|
|||||||
* Since: 2.6
|
* Since: 2.6
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
gtk_cell_view_set_background_color (GtkCellView *view,
|
gtk_cell_view_set_background_color (GtkCellView *cell_view,
|
||||||
const GdkColor *color)
|
const GdkColor *color)
|
||||||
{
|
{
|
||||||
g_return_if_fail (GTK_IS_CELL_VIEW (view));
|
g_return_if_fail (GTK_IS_CELL_VIEW (cell_view));
|
||||||
|
|
||||||
if (color)
|
if (color)
|
||||||
{
|
{
|
||||||
if (!view->priv->background_set)
|
if (!cell_view->priv->background_set)
|
||||||
{
|
{
|
||||||
view->priv->background_set = TRUE;
|
cell_view->priv->background_set = TRUE;
|
||||||
g_object_notify (G_OBJECT (view), "background_set");
|
g_object_notify (G_OBJECT (cell_view), "background_set");
|
||||||
}
|
}
|
||||||
|
|
||||||
view->priv->background = *color;
|
cell_view->priv->background = *color;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (view->priv->background_set)
|
if (cell_view->priv->background_set)
|
||||||
{
|
{
|
||||||
view->priv->background_set = FALSE;
|
cell_view->priv->background_set = FALSE;
|
||||||
g_object_notify (G_OBJECT (view), "background_set");
|
g_object_notify (G_OBJECT (cell_view), "background_set");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -76,8 +76,8 @@ gboolean gtk_cell_view_get_size_of_row (GtkCellView *cell_v
|
|||||||
|
|
||||||
void gtk_cell_view_set_background_color (GtkCellView *cell_view,
|
void gtk_cell_view_set_background_color (GtkCellView *cell_view,
|
||||||
const GdkColor *color);
|
const GdkColor *color);
|
||||||
void gtk_cell_view_set_cell_data (GtkCellView *cellview);
|
void gtk_cell_view_set_cell_data (GtkCellView *cell_view);
|
||||||
GList *gtk_cell_view_get_cell_renderers (GtkCellView *cellview);
|
GList *gtk_cell_view_get_cell_renderers (GtkCellView *cell_view);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
@ -1144,17 +1144,17 @@ gtk_dialog_set_alternative_button_order_valist (GtkDialog *dialog,
|
|||||||
* cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
|
* cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
|
||||||
* GTK_STOCK_CANCEL,
|
* GTK_STOCK_CANCEL,
|
||||||
* GTK_RESPONSE_CANCEL);
|
* GTK_RESPONSE_CANCEL);
|
||||||
*
|
*
|
||||||
* ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
|
* ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
|
||||||
* GTK_STOCK_OK,
|
* GTK_STOCK_OK,
|
||||||
* GTK_RESPONSE_OK);
|
* GTK_RESPONSE_OK);
|
||||||
*
|
*
|
||||||
* gtk_widget_grab_default (ok_button);
|
* gtk_widget_grab_default (ok_button);
|
||||||
*
|
*
|
||||||
* help_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
|
* help_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
|
||||||
* GTK_STOCK_HELP,
|
* GTK_STOCK_HELP,
|
||||||
* GTK_RESPONSE_HELP);
|
* GTK_RESPONSE_HELP);
|
||||||
*
|
*
|
||||||
* gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
|
* gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
|
||||||
* GTK_RESPONSE_OK,
|
* GTK_RESPONSE_OK,
|
||||||
* GTK_RESPONSE_CANCEL,
|
* GTK_RESPONSE_CANCEL,
|
||||||
|
Loading…
Reference in New Issue
Block a user