Kaydet (Commit) b9996778 authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky Kaydeden (comit) Adolfo Jayme Barrientos

tdf#94936 Update the button removal hack to 3.18

Gtk 3.18 has the filename entry in the header too.

Change-Id: Id1abf5baf0e82c03e27ede2bfc67ec1983a2c4fb
(cherry picked from commit c1b97d27)
Reviewed-on: https://gerrit.libreoffice.org/19427Reviewed-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
üst 9db43e72
......@@ -425,7 +425,11 @@ dialog_remove_buttons(GtkWidget *pActionArea)
gtk_container_get_children( GTK_CONTAINER( pActionArea ) );
for( GList *p = pChildren; p; p = p->next )
gtk_widget_destroy( GTK_WIDGET( p->data ) );
{
GtkWidget *pWidget = GTK_WIDGET( p->data );
if ( GTK_IS_BUTTON( pWidget ) )
gtk_widget_destroy( pWidget );
}
g_list_free( pChildren );
}
......
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