1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

gtkapp.c: fix a copy-paste error in stub main().

Apparently I copied that rather too literally from osxlaunch.c, where
the text about OS X and 'launcher' made more sense. The stub main in
gtkapp.c has nothing to do with launchers and OS X, so I've corrected
the wording to say that a completely different thing won't work in
completely different circumstances :-)
This commit is contained in:
Simon Tatham 2017-11-25 21:55:17 +00:00
parent b6b91b8e17
commit 99bdaa7752

View File

@ -135,7 +135,7 @@ const int buildinfo_gtk_relevant = TRUE;
* in the source than it is to remove it in the makefile edifice. */ * in the source than it is to remove it in the makefile edifice. */
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
fprintf(stderr, "launcher does nothing on non-OSX platforms\n"); fprintf(stderr, "GtkApplication frontend doesn't work pre-GTK3\n");
return 1; return 1;
} }
GtkWidget *make_gtk_toplevel_window(void *frontend) { return NULL; } GtkWidget *make_gtk_toplevel_window(void *frontend) { return NULL; }