~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/gdu.c

  • Committer: Loïc Minier
  • Date: 2009-11-16 20:52:04 UTC
  • Revision ID: lool@dooz.org-20091116205204-cpib5j5xwncibgl9
Also update FSF address in src/hook-remove.c src/update-notifier.h
src/update-notifier.c.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
1
#ifdef HAVE_CONFIG_H
3
2
#include "config.h"
4
3
#endif
5
 
#ifdef HAVE_GDU
 
4
 
6
5
#include <glib.h>
7
6
#include <glib-object.h>
8
7
 
10
9
#include <sys/wait.h>
11
10
 
12
11
#include "update-notifier.h"
13
 
#define GDU_API_IS_SUBJECT_TO_CHANGE
14
 
#include <gdu/gdu.h>
15
12
#include "gdu.h"
16
13
 
17
14
#define CDROM_CHECKER PACKAGE_LIB_DIR"/update-notifier/apt-cdrom-check"
229
226
}
230
227
 
231
228
 
232
 
#else
233
 
#include <glib.h>
234
 
 
235
 
#include "update-notifier.h"
236
 
 
237
 
gboolean
238
 
up_do_hal_init (UpgradeNotifier *un)
239
 
{
240
 
    g_warning("Detection and monitoring of CD-ROMs disabled.");
241
 
    return FALSE;
242
 
}
243
 
#endif // HAVE_GUDEV