Kaydet (Commit) c1b97d27 authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

tdf#94936 Update the button removal hack to 3.18

Gtk 3.18 has the filename entry in the header too.

Change-Id: Id1abf5baf0e82c03e27ede2bfc67ec1983a2c4fb
üst f8f1a064
......@@ -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