Ignore:
Timestamp:
Sep 19, 2004, 6:44:48 PM (16 years ago)
Author:
olegb
Message:

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
gnome 2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/gnome-desktop/files/patch_gnome-desktop-item.c

    r4116 r8371  
    1 --- libgnome-desktop/gnome-desktop-item.c.org   Tue Nov 25 20:59:15 2003
    2 +++ libgnome-desktop/gnome-desktop-item.c       Tue Nov 25 21:00:05 2003
    3 @@ -27,6 +27,11 @@
    4    @NOTATION@
    5   */
     1--- libgnome-desktop/gnome-desktop-item.c.org   Fri Sep 17 22:05:13 2004
     2+++ libgnome-desktop/gnome-desktop-item.c       Fri Sep 17 22:05:16 2004
     3@@ -62,7 +62,11 @@
    64 
     5 #define sure_string(s) ((s)!=NULL?(s):"")
     6 
     7-extern char **environ;
    78+#ifdef __APPLE__
    89+# include <crt_externs.h>
    910+# define environ (*_NSGetEnviron())
     11+#elif extern char **environ;
    1012+#endif
    11 +
    12  #include "config.h"
    1313 
    14  #include <limits.h>
    15 @@ -1482,8 +1487,6 @@
    16  {
    17         gdk_error_trap_pop ();
    18  }
    19 -
    20 -extern char **environ;
    21  
    22  static char **
    23  make_spawn_environment_for_sn_context (SnLauncherContext *sn_context,
     14 struct _GnomeDesktopItem {
     15        int refcount;
Note: See TracChangeset for help on using the changeset viewer.