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:
Manish Singh 2005-04-04 21:35:46 +00:00 committed by Manish Singh
parent 70d788c71e
commit 006fcb4abe
5 changed files with 26 additions and 2 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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;
}

View File

@ -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 */