blob: 16303d66fc56673206ca3d53dd23ba2b4e3b5c2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
https://bugs.gentoo.org/965487
Casting to GObject is valid, because GtkWidget embeds GObject.
--- a/goffice-bits/goffice/gtk/go-combo-box.c
+++ b/goffice-bits/goffice/gtk/go-combo-box.c
@@ -173,7 +173,7 @@
gdk_device_ungrab (gtk_get_current_event_device (),
GDK_CURRENT_TIME);
- pdc = g_object_ref (combo_box->priv->popdown_container);
+ pdc = G_OBJECT (g_object_ref (combo_box->priv->popdown_container));
g_signal_emit (combo_box,
go_combo_box_signals [POP_DOWN_DONE], 0,
pdc, &popup_info_destroyed);
|