Commit 8912c654 authored by Matthias Clasen's avatar Matthias Clasen

Avoid compiler warnings.

parent 2dd21faf
Thu Jul 22 01:16:23 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c: Avoid some warnings.
Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de> Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Require Pango 1.5.1 (for ellipsisation). * configure.in: Require Pango 1.5.1 (for ellipsisation).
......
Thu Jul 22 01:16:23 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c: Avoid some warnings.
Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de> Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Require Pango 1.5.1 (for ellipsisation). * configure.in: Require Pango 1.5.1 (for ellipsisation).
......
Thu Jul 22 01:16:23 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c: Avoid some warnings.
Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de> Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Require Pango 1.5.1 (for ellipsisation). * configure.in: Require Pango 1.5.1 (for ellipsisation).
......
Thu Jul 22 01:16:23 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c: Avoid some warnings.
Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de> Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Require Pango 1.5.1 (for ellipsisation). * configure.in: Require Pango 1.5.1 (for ellipsisation).
......
...@@ -2426,13 +2426,13 @@ gtk_combo_box_menu_row_inserted (GtkTreeModel *model, ...@@ -2426,13 +2426,13 @@ gtk_combo_box_menu_row_inserted (GtkTreeModel *model,
menu = combo_box->priv->popup_widget; menu = combo_box->priv->popup_widget;
g_return_if_fail (GTK_IS_MENU (menu)); g_return_if_fail (GTK_IS_MENU (menu));
cell_view = gtk_cell_view_new (); cell_view = GTK_CELL_VIEW (gtk_cell_view_new ());
gtk_cell_view_set_model (cell_view, model); gtk_cell_view_set_model (cell_view, model);
gtk_cell_view_set_displayed_row (cell_view, path); gtk_cell_view_set_displayed_row (cell_view, path);
gtk_widget_show (GTK_WIDGET (cell_view)); gtk_widget_show (GTK_WIDGET (cell_view));
item = gtk_menu_item_new (); item = gtk_menu_item_new ();
gtk_container_add (GTK_CONTAINER (item), cell_view); gtk_container_add (GTK_CONTAINER (item), GTK_WIDGET (cell_view));
g_signal_connect (item, "activate", g_signal_connect (item, "activate",
G_CALLBACK (gtk_combo_box_menu_item_activate), G_CALLBACK (gtk_combo_box_menu_item_activate),
......
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