Skip to content
Permalink
Browse files

main: replace deprecated gdk_flush

  • Loading branch information...
raveit65 committed Jun 28, 2018
1 parent 5e296c1 commit 36d1856586e0caaa5c3417ec9f2322a110ccb4b8
Showing with 3 additions and 1 deletion.
  1. +3 −1 mate-panel/main.c
@@ -70,6 +70,7 @@ main (int argc, char **argv)
char *desktopfile;
GOptionContext *context;
GError *error;
GdkDisplay *display;
GdkScreen *screen;
GtkCssProvider *css;
GtkStyleProvider *provider;
@@ -174,7 +175,8 @@ main (int argc, char **argv)

/* Flush to make sure our struts are seen by everyone starting
* immediate after (eg, the caja desktop). */
gdk_flush ();
display = gdk_display_get_default ();
gdk_display_flush (display);

/* Do this at the end, to be sure that we're really ready when
* connecting to the session manager */

0 comments on commit 36d1856

Please sign in to comment.
You can’t perform that action at this time.