Add #ifdef HAVE_XIMIAN_ARCHIVER around some parts missing it
2001-06-12 Bradford Hovinen <hovinen@ximian.com> * capplets/new-mouse-properties/main.c (ok_cb): (cancel_cb): Add #ifdef HAVE_XIMIAN_ARCHIVER around some parts missing it
This commit is contained in:
parent
618c4af389
commit
057372f928
1 changed files with 10 additions and 0 deletions
|
@ -76,10 +76,15 @@ store_archive_data (void)
|
||||||
static void
|
static void
|
||||||
ok_cb (GtkWidget *widget)
|
ok_cb (GtkWidget *widget)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_XIMIAN_ARCHIVER
|
||||||
if (!outside_location) {
|
if (!outside_location) {
|
||||||
preferences_save (prefs);
|
preferences_save (prefs);
|
||||||
preferences_apply_now (prefs);
|
preferences_apply_now (prefs);
|
||||||
}
|
}
|
||||||
|
#else /* !HAVE_XIMIAN_ARCHIVER */
|
||||||
|
preferences_save (prefs);
|
||||||
|
preferences_apply_now (prefs);
|
||||||
|
#endif /* HAVE_XIMIAN_ARCHIVER */
|
||||||
|
|
||||||
#ifdef HAVE_XIMIAN_ARCHIVER
|
#ifdef HAVE_XIMIAN_ARCHIVER
|
||||||
store_archive_data ();
|
store_archive_data ();
|
||||||
|
@ -89,10 +94,15 @@ ok_cb (GtkWidget *widget)
|
||||||
static void
|
static void
|
||||||
cancel_cb (GtkWidget *widget)
|
cancel_cb (GtkWidget *widget)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_XIMIAN_ARCHIVER
|
||||||
if (!outside_location) {
|
if (!outside_location) {
|
||||||
preferences_save (old_prefs);
|
preferences_save (old_prefs);
|
||||||
preferences_apply_now (old_prefs);
|
preferences_apply_now (old_prefs);
|
||||||
}
|
}
|
||||||
|
#else /* !HAVE_XIMIAN_ARCHIVER */
|
||||||
|
preferences_save (old_prefs);
|
||||||
|
preferences_apply_now (old_prefs);
|
||||||
|
#endif /* HAVE_XIMIAN_ARCHIVER */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue