]> Git Repo - qemu.git/commit
gtk: don't leak the GtkBorder with VTE 0.36
authorAlberto Garcia <[email protected]>
Fri, 13 May 2016 08:20:54 +0000 (11:20 +0300)
committerGerd Hoffmann <[email protected]>
Fri, 13 May 2016 10:40:12 +0000 (12:40 +0200)
commit6978dc4adcdf27722aa6f9e13f88a903b30a3f8d
tree9191d9abc3352de8c73ddfb194866aa80dc599b0
parenta69fc693e9a7e51b4be08cd37bb3fb02c9386152
gtk: don't leak the GtkBorder with VTE 0.36

When gtk_widget_style_get() is used to get the "inner-border" style
property, it returns a copy of the GtkBorder which must be freed by
the caller.

This patch also fixes a warning about the unused 'padding' structure
with VTE 0.36.

Signed-off-by: Alberto Garcia <[email protected]>
Message-id: 1463127654[email protected]
Cc: Cole Robinson <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
[ kraxel: adapted to changes in ui patch queue ]

Signed-off-by: Gerd Hoffmann <[email protected]>
ui/gtk.c
This page took 0.021108 seconds and 4 git commands to generate.