Skip to content

Commit 30cc5b8

Browse files
Jeff Walshfejfighter
authored andcommitted
gdk_flush is deprecated
1 parent 51580cd commit 30cc5b8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/pgtkterm.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ pgtk_iconify_frame (struct frame *f)
486486
SET_FRAME_ICONIFIED (f, true);
487487
SET_FRAME_VISIBLE (f, 0);
488488

489-
gdk_flush();
490489
unblock_input ();
491490
}
492491

@@ -521,8 +520,6 @@ pgtk_make_frame_visible (struct frame *f)
521520
gtk_widget_show(win);
522521
gtk_window_deiconify(GTK_WINDOW(win));
523522

524-
gdk_flush();
525-
526523
if (FLOATP (Vpgtk_wait_for_event_timeout)) {
527524
guint msec = (guint) (XFLOAT_DATA (Vpgtk_wait_for_event_timeout) * 1000);
528525
int found = 0;
@@ -550,7 +547,6 @@ pgtk_make_frame_invisible (struct frame *f)
550547
GtkWidget *win = FRAME_OUTPUT_DATA(f)->widget;
551548

552549
gtk_widget_hide(win);
553-
gdk_flush();
554550

555551
SET_FRAME_VISIBLE (f, 0);
556552
SET_FRAME_ICONIFIED (f, false);
@@ -3284,9 +3280,6 @@ pgtk_hide_hourglass(struct frame *f)
32843280
static void
32853281
pgtk_flush_display (struct frame *f)
32863282
{
3287-
block_input ();
3288-
gdk_flush();
3289-
unblock_input ();
32903283
}
32913284

32923285
extern frame_parm_handler pgtk_frame_parm_handlers[];

0 commit comments

Comments
 (0)