brasero r1999 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1999 - in trunk: . src
- Date: Wed, 25 Feb 2009 09:39:14 +0000 (UTC)
Author: philippr
Date: Wed Feb 25 09:39:14 2009
New Revision: 1999
URL: http://svn.gnome.org/viewvc/brasero?rev=1999&view=rev
Log:
2009-02-25 Philippe Rouquier <bonfire-app wanadoo fr>
Removed unused code
* src/brasero-utils.c:
* src/brasero-utils.h:
Modified:
trunk/ChangeLog
trunk/src/brasero-utils.c
trunk/src/brasero-utils.h
Modified: trunk/src/brasero-utils.c
==============================================================================
--- trunk/src/brasero-utils.c (original)
+++ trunk/src/brasero-utils.c Wed Feb 25 09:39:14 2009
@@ -284,35 +284,6 @@
return button;
}
-/* Copied from glib-2.8.3 (glib.c) but slightly
- * modified to use only the first 64 bytes */
-gboolean
-brasero_utils_str_equal_64 (gconstpointer v1,
- gconstpointer v2)
-{
- const gchar *string1 = v1;
- const gchar *string2 = v2;
-
- return strncmp (string1, string2, 64) == 0;
-}
-
-/* Copied from glib-2.8.3 (glib.c) but slightly
- * modified to use only the first 64 bytes */
-guint
-brasero_utils_str_hash_64 (gconstpointer v)
-{
- /* 31 bit hash function */
- const signed char *p = v;
- guint32 h = *p;
- int i;
-
- if (h)
- for (p += 1, i = 0; *p != '\0' && i < 64; p++, i++)
- h = (h << 5) - h + *p;
-
- return h;
-}
-
void
brasero_utils_launch_app (GtkWidget *widget,
GSList *list)
Modified: trunk/src/brasero-utils.h
==============================================================================
--- trunk/src/brasero-utils.h (original)
+++ trunk/src/brasero-utils.h Wed Feb 25 09:39:14 2009
@@ -71,13 +71,6 @@
const gchar *theme,
GtkIconSize size);
-gboolean
-brasero_utils_str_equal_64 (gconstpointer v1,
- gconstpointer v2);
-
-guint
-brasero_utils_str_hash_64 (gconstpointer v);
-
void
brasero_utils_launch_app (GtkWidget *widget,
GSList *list);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]