forked from AuroraMiddleware/gtk
cast combo->priv->entry to GTK_ENTRY()
Mon Apr 4 14:33:55 2005 Manish Singh <yosh@gimp.org> * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): cast combo->priv->entry to GTK_ENTRY() * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): cast completion->priv->tree_view to GTK_TREE_VIEW()
This commit is contained in:
parent
70d788c71e
commit
006fcb4abe
@ -1,3 +1,11 @@
|
||||
Mon Apr 4 14:33:55 2005 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
|
||||
cast combo->priv->entry to GTK_ENTRY()
|
||||
|
||||
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
|
||||
cast completion->priv->tree_view to GTK_TREE_VIEW()
|
||||
|
||||
2005-04-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextbuffer.c: Some trivial doc fixes.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Apr 4 14:33:55 2005 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
|
||||
cast combo->priv->entry to GTK_ENTRY()
|
||||
|
||||
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
|
||||
cast completion->priv->tree_view to GTK_TREE_VIEW()
|
||||
|
||||
2005-04-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextbuffer.c: Some trivial doc fixes.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Apr 4 14:33:55 2005 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
|
||||
cast combo->priv->entry to GTK_ENTRY()
|
||||
|
||||
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
|
||||
cast completion->priv->tree_view to GTK_TREE_VIEW()
|
||||
|
||||
2005-04-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextbuffer.c: Some trivial doc fixes.
|
||||
|
@ -395,7 +395,7 @@ gtk_combo_box_entry_get_active_text (GtkComboBox *combo_box)
|
||||
GtkComboBoxEntry *combo = GTK_COMBO_BOX_ENTRY (combo_box);
|
||||
|
||||
if (combo->priv->entry)
|
||||
return g_strdup (gtk_entry_get_text (combo->priv->entry));
|
||||
return g_strdup (gtk_entry_get_text (GTK_ENTRY (combo->priv->entry)));
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
@ -1324,7 +1324,7 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
|
||||
else
|
||||
width = -1;
|
||||
|
||||
gtk_tree_view_columns_autosize (completion->priv->tree_view);
|
||||
gtk_tree_view_columns_autosize (GTK_TREE_VIEW (completion->priv->tree_view));
|
||||
gtk_widget_set_size_request (completion->priv->tree_view, width, items * height);
|
||||
|
||||
/* default on no match */
|
||||
|
Loading…
Reference in New Issue
Block a user