From 4ac3998efb6d675991cbc292725fde94d79fb0dd Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sun, 8 Feb 2004 09:29:11 +0000 Subject: [PATCH] Add appropriate type casts for the gtk_window_set_screen() call. Sun Feb 8 01:28:02 2004 Manish Singh * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate type casts for the gtk_window_set_screen() call. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkcombobox.c | 6 +++--- 6 files changed, 28 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b36aaafdfc..f28ad0437d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Feb 8 01:28:02 2004 Manish Singh + + * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate + type casts for the gtk_window_set_screen() call. + Sun Feb 8 01:44:06 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b36aaafdfc..f28ad0437d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sun Feb 8 01:28:02 2004 Manish Singh + + * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate + type casts for the gtk_window_set_screen() call. + Sun Feb 8 01:44:06 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index b36aaafdfc..f28ad0437d 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Sun Feb 8 01:28:02 2004 Manish Singh + + * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate + type casts for the gtk_window_set_screen() call. + Sun Feb 8 01:44:06 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index b36aaafdfc..f28ad0437d 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sun Feb 8 01:28:02 2004 Manish Singh + + * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate + type casts for the gtk_window_set_screen() call. + Sun Feb 8 01:44:06 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index b36aaafdfc..f28ad0437d 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sun Feb 8 01:28:02 2004 Manish Singh + + * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate + type casts for the gtk_window_set_screen() call. + Sun Feb 8 01:44:06 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index fabb8b4aff..54a8450594 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -693,9 +693,9 @@ gtk_combo_box_set_popup_widget (GtkComboBox *combo_box, if (!combo_box->priv->popup_window) { combo_box->priv->popup_window = gtk_window_new (GTK_WINDOW_POPUP); - gtk_window_set_screen (combo_box->priv->popup_window, - gtk_widget_get_screen (combo_box)); - + gtk_window_set_screen (GTK_WINDOW (combo_box->priv->popup_window), + gtk_widget_get_screen (GTK_WIDGET (combo_box))); + combo_box->priv->popup_frame = gtk_frame_new (NULL); gtk_frame_set_shadow_type (GTK_FRAME (combo_box->priv->popup_frame), GTK_SHADOW_NONE);