* gtkutil.c (xg_free_frame_widgets): Make it clear that a local variable is
needed only if USE_GTK_TOOLTIP.
This commit is contained in:
parent
7c86ee9804
commit
b0afc268e8
2 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* gtkutil.c (xg_get_pixbuf_from_pixmap): Add cast from char *
|
||||
to unsigned char * to avoid compiler diagnostic.
|
||||
(xg_free_frame_widgets): Make it clear that a local variable is
|
||||
needed only if USE_GTK_TOOLTIP.
|
||||
|
||||
* xgselect.c (xg_select): Remove unused var.
|
||||
|
||||
|
|
|
@ -1188,7 +1188,9 @@ xg_free_frame_widgets (FRAME_PTR f)
|
|||
{
|
||||
if (FRAME_GTK_OUTER_WIDGET (f))
|
||||
{
|
||||
#ifdef USE_GTK_TOOLTIP
|
||||
struct x_output *x = f->output_data.x;
|
||||
#endif
|
||||
gtk_widget_destroy (FRAME_GTK_OUTER_WIDGET (f));
|
||||
FRAME_X_WINDOW (f) = 0; /* Set to avoid XDestroyWindow in xterm.c */
|
||||
FRAME_GTK_OUTER_WIDGET (f) = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue