diff options
Diffstat (limited to 'widgets/misc/e-charset-combo-box.c')
-rw-r--r-- | widgets/misc/e-charset-combo-box.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-charset-combo-box.c b/widgets/misc/e-charset-combo-box.c index 9c992ce1f7..142c8a98a3 100644 --- a/widgets/misc/e-charset-combo-box.c +++ b/widgets/misc/e-charset-combo-box.c @@ -84,7 +84,7 @@ charset_combo_box_run_dialog (ECharsetComboBox *combo_box) * finally resolved. */ parent = gtk_widget_get_toplevel (GTK_WIDGET (combo_box)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; object = G_OBJECT (combo_box->priv->other_action); charset = g_object_get_data (object, "charset"); |