GNOME Bugzilla – Bug 523787
GtkEntryCompletion does not implement GtkCellLayout::get_cells()
Last modified: 2008-03-22 17:54:21 UTC
I had a case where I wanted to ellipsize the default text renderer in a GtkEntryCompletion so I could add a second text column, but found that gtk_cell_layout_get_cells(GTK_CELL_LAYOUT (completion)) always returns NULL because the get_cells() method is not implemented.
I should add: There doesn't seem to be any other way to get access to the default text renderer in a GtkEntryCompletion.
Created attachment 107780 [details] [review] Proposed patch
Looks ok to me
2008-03-22 Matthew Barnes <mbarnes@redhat.com> * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells): New function implements GtkCellLayoutClass::get_cells. (#523787) Revision 19923.