summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Larsson <alexl@redhat.com>2002-04-29 14:41:04 +0000
committerAlexander Larsson <alexl@src.gnome.org>2002-04-29 14:41:04 +0000
commitbc25b9b250976f90331b8488745e3abd2a23ae07 (patch)
tree4ea0fb77c5979da9937646be48b945567eb6e689
parent207daec517ea5e5f4262cc5c0c62f067561bf3ab (diff)
downloadgtk+-bc25b9b250976f90331b8488745e3abd2a23ae07.tar.gz
Fix silly bug, noticed by Sven Neumann.
2002-04-29 Alex Larsson <alexl@redhat.com> * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get): Fix silly bug, noticed by Sven Neumann.
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-25
-rw-r--r--ChangeLog.pre-2-45
-rw-r--r--ChangeLog.pre-2-65
-rw-r--r--ChangeLog.pre-2-85
-rw-r--r--gdk/linux-fb/gdkproperty-fb.c2
7 files changed, 31 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c7391e8746..338629a6b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-29 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
+ Fix silly bug, noticed by Sven Neumann.
+
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index c7391e8746..338629a6b6 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,8 @@
+2002-04-29 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
+ Fix silly bug, noticed by Sven Neumann.
+
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index c7391e8746..338629a6b6 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,8 @@
+2002-04-29 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
+ Fix silly bug, noticed by Sven Neumann.
+
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index c7391e8746..338629a6b6 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,8 @@
+2002-04-29 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
+ Fix silly bug, noticed by Sven Neumann.
+
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index c7391e8746..338629a6b6 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,8 @@
+2002-04-29 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
+ Fix silly bug, noticed by Sven Neumann.
+
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index c7391e8746..338629a6b6 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,8 @@
+2002-04-29 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
+ Fix silly bug, noticed by Sven Neumann.
+
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
diff --git a/gdk/linux-fb/gdkproperty-fb.c b/gdk/linux-fb/gdkproperty-fb.c
index 70c3fb8222..28c604e5a9 100644
--- a/gdk/linux-fb/gdkproperty-fb.c
+++ b/gdk/linux-fb/gdkproperty-fb.c
@@ -177,7 +177,7 @@ gdk_property_get (GdkWindow *window,
if (nbytes > 0)
{
*data = g_malloc (nbytes+1);
- memcpy (data, prop->data + offset, nbytes);
+ memcpy (*data, prop->data + offset, nbytes);
(*data)[nbytes] = 0;
}
else