mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Fix "assertion 'GTK_IS_WINDOW (window)' failed"
* src/gtkutil.c (xg_frame_set_size_and_position): Remove a gtk_window_resize call which used a wrong value type (GdkX11Window instead of GtkWindow). The original motivation for that line seems to be fixed by later changes (bug#80662).
This commit is contained in:
parent
98348a0bdc
commit
2936b36164
1 changed files with 0 additions and 2 deletions
|
|
@ -1352,8 +1352,6 @@ xg_frame_set_size_and_position (struct frame *f, int width, int height)
|
|||
gdk_window_move_resize (gwin, x, y, outer_width, outer_height);
|
||||
if (FRAME_PARENT_FRAME (f))
|
||||
{
|
||||
/* Record the dimensions for GTK to remember after remapping. */
|
||||
gtk_window_resize (GTK_WINDOW (gwin), outer_width, outer_height);
|
||||
/* Resize all inner widgets and Cairo surface right away so the
|
||||
next redisplay drawing isn't clipped to the old size. */
|
||||
GtkAllocation alloc = {0, 0, outer_width, outer_height};
|
||||
|
|
|
|||
Loading…
Reference in a new issue