Commit 006fcb4a authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

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()
parent 70d788c7
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.
......
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.
......
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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment