Under certain compiler options, the effect of the gtk_*get_type
function call was optimised away. This change fixes that. It
seems that both static and volatile are necessary, in order to
avoid the compiler from complaining and/or optimising the call
away.
#include "psppire-dialog-action-var-info.h"
#include "psppire-value-entry.h"
+static volatile GType kludge;
/* Any custom widgets which are to be used in GtkBuilder ui files
need to be preregistered, otherwise GtkBuilder refuses to
/* This seems to be necessary on Cygwin.
It ought not to be necessary. Having it here can't do any harm. */
- (void) gtk_source_view_get_type ();
+ kludge = gtk_source_view_get_type ();
}