summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaszlo Peter <laca@ireland.sun.com>2001-12-03 15:22:57 +0000
committerLászló PÉTER <laca@src.gnome.org>2001-12-03 15:22:57 +0000
commit3f05f342861581ad147697a857b3b1980023cf6f (patch)
tree0abc95d0b9b38e388a1880b716329608652df10b
parent248487a63c33b66cc05018f0ca49f6c00e4d220d (diff)
downloadmetacity-3f05f342861581ad147697a857b3b1980023cf6f.tar.gz
metacity-3f05f342861581ad147697a857b3b1980023cf6f.tar.bz2
add a dummy element to the enum so the signals array is not empty. (breaks
2001-12-03 Laszlo Peter <laca@ireland.sun.com> * src/frames.c: add a dummy element to the enum so the signals array is not empty. (breaks the build with Forte C) * src/window.c: s/__FUNCTION__/G_GNUC_FUNCTION/
-rw-r--r--ChangeLog7
-rw-r--r--src/frames.c1
-rw-r--r--src/window.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b8d9b1..e530465 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-03 Laszlo Peter <laca@ireland.sun.com>
+
+ * src/frames.c: add a dummy element to the enum so
+ the signals array is not empty. (breaks the build with Forte C)
+
+ * src/window.c: s/__FUNCTION__/G_GNUC_FUNCTION/
+
2001-11-27 Havoc Pennington <hp@pobox.com>
* src/window.c (constrain_position): change so that window can be
diff --git a/src/frames.c b/src/frames.c
index 15b3e42..cc48045 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -148,6 +148,7 @@ static void clear_tip (MetaFrames *frames);
enum
{
+ dummy, /* remove this when you add more signals */
LAST_SIGNAL
};
diff --git a/src/window.c b/src/window.c
index 0c47f96..aa17a8c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4081,7 +4081,7 @@ read_rgb_icon (MetaWindow *window,
if (sizeof (gulong) != 4)
meta_warning ("%s: Whoops, I think this function may be broken on 64-bit\n",
- __FUNCTION__);
+ G_GNUC_FUNCTION);
meta_error_trap_push (window->display);
type = None;