Skip to content

Instantly share code, notes, and snippets.

@jamespo
Created September 1, 2017 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamespo/b7494bfc6482a9d2fbc0d4689a49e6e9 to your computer and use it in GitHub Desktop.
Save jamespo/b7494bfc6482a9d2fbc0d4689a49e6e9 to your computer and use it in GitHub Desktop.
diff -r1.2 ./main.c
145a146,156
> /* support "-m" argument to start minimized */
> int c;
> while ((c = getopt (argc, argv, "m")) != -1)
> switch (c)
> {
> case 'm':
> /* minimize the main window */
> gtk_window_iconify(GTK_WINDOW(main_window));
> break;
> }
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment