~taylorp36/ubuntu/wily/aisleriot/bug-1490189

« back to all changes in this revision

Viewing changes to .pc/0001-Don-t-set-ubuntu-specific-environment-variables.patch/src/sol.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2015-06-02 16:25:42 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20150602162542-apcq0tnioq2t00xs
Tags: 1:3.16.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
#include <gtk/gtk.h>
30
30
 
31
 
#ifdef HAVE_CLUTTER
32
 
#include <cogl/cogl.h>
33
 
#include <clutter/clutter.h>
34
 
#include <clutter-gtk/clutter-gtk.h>
35
 
#endif
36
 
 
37
31
#include "ar-debug.h"
38
32
#include "ar-stock.h"
39
33
#include "ar-runtime.h"
99
93
 
100
94
  g_option_context_add_group (option_context, gtk_get_option_group (TRUE));
101
95
 
102
 
#ifdef HAVE_CLUTTER
103
 
  g_option_context_add_group (option_context, cogl_get_option_group ());
104
 
  g_option_context_add_group (option_context, clutter_get_option_group_without_init ());
105
 
  g_option_context_add_group (option_context, gtk_clutter_get_option_group ());
106
 
#endif /* HAVE_CLUTTER */
107
 
 
108
96
  retval = g_option_context_parse (option_context, &argc, &argv, &error);
109
97
  g_option_context_free (option_context);
110
98
 
162
150
  g_setenv ("GUILE_WARN_DEPRECATED", "detailed", TRUE);
163
151
  g_setenv ("GUILE_AUTO_COMPILE", "0", TRUE);
164
152
 
165
 
  /* Set some env vars to disable ubuntu crap. They'll certainly patch this
 
153
  /* Set some env vars to disable the ubuntu modules. They'll certainly patch this
166
154
   * out in their package, but anyone running from git will get the right
167
155
   * behaviour.
168
156
   */