~ubuntu-branches/ubuntu/saucy/menu-cache/saucy-proposed

« back to all changes in this revision

Viewing changes to menu-cache-gen/menu-monitor.c

  • Committer: Package Import Robot
  • Author(s): Julien Lavergne
  • Date: 2013-07-09 00:51:39 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20130709005139-jhyibwz01063ltb7
Tags: 0.5.0-0ubuntu1
* New upstream release.
 - menu-cached crashed with SIGSEGV in malloc() (LP: #1098732)
* debian/conrol:
 - Soname bump to libmenu-cache3
* debian/libmenu-cache3.install
 - Soname bump to libmenu-cache3
* debian/rules:
 - Update with the soname change.
 - Enable hardening flags.

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
register_monitor (const char *path,
204
204
                  gboolean    is_directory)
205
205
{
 
206
#if !GLIB_CHECK_VERSION(2, 36, 0)
206
207
  static gboolean  initted = FALSE;
 
208
#endif
207
209
  MenuMonitor     *retval;
208
210
  GFile           *file;
209
211
 
 
212
#if !GLIB_CHECK_VERSION(2, 36, 0)
210
213
  if (!initted)
211
214
    {
212
215
      /* This is the only place where we're using GObject and the app can't
214
217
      g_type_init ();
215
218
      initted = TRUE;
216
219
    }
 
220
#endif
217
221
 
218
222
  retval = g_new0 (MenuMonitor, 1);
219
223