forked from AuroraMiddleware/gtk
New function implements GtkCellLayoutClass::get_cells. (#523787)
2008-03-22 Matthew Barnes <mbarnes@redhat.com> * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells): New function implements GtkCellLayoutClass::get_cells. (#523787) svn path=/trunk/; revision=19923
This commit is contained in:
parent
a04b79df43
commit
2034ab8642
@ -1,3 +1,8 @@
|
||||
2008-03-22 Matthew Barnes <mbarnes@redhat.com>
|
||||
|
||||
* gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
|
||||
New function implements GtkCellLayoutClass::get_cells. (#523787)
|
||||
|
||||
2008-03-22 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
|
||||
|
@ -98,6 +98,7 @@ static void gtk_entry_completion_clear_attributes (GtkCellLayout
|
||||
static void gtk_entry_completion_reorder (GtkCellLayout *cell_layout,
|
||||
GtkCellRenderer *cell,
|
||||
gint position);
|
||||
static GList * gtk_entry_completion_get_cells (GtkCellLayout *cell_layout);
|
||||
|
||||
static gboolean gtk_entry_completion_visible_func (GtkTreeModel *model,
|
||||
GtkTreeIter *iter,
|
||||
@ -410,6 +411,7 @@ gtk_entry_completion_cell_layout_init (GtkCellLayoutIface *iface)
|
||||
iface->set_cell_data_func = gtk_entry_completion_set_cell_data_func;
|
||||
iface->clear_attributes = gtk_entry_completion_clear_attributes;
|
||||
iface->reorder = gtk_entry_completion_reorder;
|
||||
iface->get_cells = gtk_entry_completion_get_cells;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -747,6 +749,16 @@ gtk_entry_completion_reorder (GtkCellLayout *cell_layout,
|
||||
gtk_cell_layout_reorder (GTK_CELL_LAYOUT (priv->column), cell, position);
|
||||
}
|
||||
|
||||
static GList *
|
||||
gtk_entry_completion_get_cells (GtkCellLayout *cell_layout)
|
||||
{
|
||||
GtkEntryCompletionPrivate *priv;
|
||||
|
||||
priv = GTK_ENTRY_COMPLETION_GET_PRIVATE (cell_layout);
|
||||
|
||||
return gtk_tree_view_column_get_cell_renderers (priv->column);
|
||||
}
|
||||
|
||||
/* all those callbacks */
|
||||
static gboolean
|
||||
gtk_entry_completion_default_completion_func (GtkEntryCompletion *completion,
|
||||
|
Loading…
Reference in New Issue
Block a user