wok-current annotate libunique/stuff/remove_G_CONST_RETURN.patch @ rev 25196

updated python-httplib2 (0.17.1 -> 0.20.2)
author Hans-G?nter Theisgen
date Wed Jul 13 11:04:37 2022 +0100 (2022-07-13)
parents
children
rev   line source
gokhlayeh@11438 1 diff -Nur libunique-1.1.6.orig/unique/uniqueapp.c libunique-1.1.6/unique/uniqueapp.c
gokhlayeh@11438 2 --- libunique-1.1.6.orig/unique/uniqueapp.c 2011-12-01 07:38:17.748122298 +0000
gokhlayeh@11438 3 +++ libunique-1.1.6/unique/uniqueapp.c 2011-12-01 07:39:59.132319788 +0000
gokhlayeh@11438 4 @@ -781,7 +781,7 @@
gokhlayeh@11438 5 }
gokhlayeh@11438 6
gokhlayeh@11438 7
gokhlayeh@11438 8 -G_CONST_RETURN gchar *
gokhlayeh@11438 9 +const gchar *
gokhlayeh@11438 10 unique_command_to_string (UniqueApp *app,
gokhlayeh@11438 11 gint command)
gokhlayeh@11438 12 {
gokhlayeh@11438 13 @@ -863,7 +863,7 @@
gokhlayeh@11438 14 return retval;
gokhlayeh@11438 15 }
gokhlayeh@11438 16
gokhlayeh@11438 17 -G_CONST_RETURN gchar *
gokhlayeh@11438 18 +const gchar *
gokhlayeh@11438 19 unique_response_to_string (UniqueResponse response)
gokhlayeh@11438 20 {
gokhlayeh@11438 21 GEnumClass *enum_class;
gokhlayeh@11438 22 diff -Nur libunique-1.1.6.orig/unique/uniquebackend.c libunique-1.1.6/unique/uniquebackend.c
gokhlayeh@11438 23 --- libunique-1.1.6.orig/unique/uniquebackend.c 2011-12-01 07:38:17.748122298 +0000
gokhlayeh@11438 24 +++ libunique-1.1.6/unique/uniquebackend.c 2011-12-01 07:39:24.418677950 +0000
gokhlayeh@11438 25 @@ -111,7 +111,7 @@
gokhlayeh@11438 26 *
gokhlayeh@11438 27 * Return value: FIXME
gokhlayeh@11438 28 */
gokhlayeh@11438 29 -G_CONST_RETURN gchar *
gokhlayeh@11438 30 +const gchar *
gokhlayeh@11438 31 unique_backend_get_name (UniqueBackend *backend)
gokhlayeh@11438 32 {
gokhlayeh@11438 33 g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
gokhlayeh@11438 34 @@ -154,7 +154,7 @@
gokhlayeh@11438 35 *
gokhlayeh@11438 36 * Return value: FIXME
gokhlayeh@11438 37 */
gokhlayeh@11438 38 -G_CONST_RETURN gchar *
gokhlayeh@11438 39 +const gchar *
gokhlayeh@11438 40 unique_backend_get_startup_id (UniqueBackend *backend)
gokhlayeh@11438 41 {
gokhlayeh@11438 42 g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
gokhlayeh@11438 43 diff -Nur libunique-1.1.6.orig/unique/uniquebackend.h libunique-1.1.6/unique/uniquebackend.h
gokhlayeh@11438 44 --- libunique-1.1.6.orig/unique/uniquebackend.h 2011-12-01 07:38:17.748122298 +0000
gokhlayeh@11438 45 +++ libunique-1.1.6/unique/uniquebackend.h 2011-12-01 07:42:13.833467492 +0000
gokhlayeh@11438 46 @@ -94,10 +94,10 @@
gokhlayeh@11438 47
gokhlayeh@11438 48 UniqueBackend * unique_backend_create (void);
gokhlayeh@11438 49
gokhlayeh@11438 50 -G_CONST_RETURN gchar *unique_backend_get_name (UniqueBackend *backend);
gokhlayeh@11438 51 +const gchar *unique_backend_get_name (UniqueBackend *backend);
gokhlayeh@11438 52 void unique_backend_set_name (UniqueBackend *backend,
gokhlayeh@11438 53 const gchar *name);
gokhlayeh@11438 54 -G_CONST_RETURN gchar *unique_backend_get_startup_id (UniqueBackend *backend);
gokhlayeh@11438 55 +const gchar *unique_backend_get_startup_id (UniqueBackend *backend);
gokhlayeh@11438 56 void unique_backend_set_startup_id (UniqueBackend *backend,
gokhlayeh@11438 57 const gchar *startup_id);
gokhlayeh@11438 58 GdkScreen * unique_backend_get_screen (UniqueBackend *backend);
gokhlayeh@11438 59 diff -Nur libunique-1.1.6.orig/unique/uniqueinternals.h libunique-1.1.6/unique/uniqueinternals.h
gokhlayeh@11438 60 --- libunique-1.1.6.orig/unique/uniqueinternals.h 2011-12-01 07:38:17.748122298 +0000
gokhlayeh@11438 61 +++ libunique-1.1.6/unique/uniqueinternals.h 2011-12-01 07:41:17.142977914 +0000
gokhlayeh@11438 62 @@ -44,11 +44,11 @@
gokhlayeh@11438 63 * and then back into an id
gokhlayeh@11438 64 */
gokhlayeh@11438 65 UniqueResponse unique_response_from_string (const gchar *response);
gokhlayeh@11438 66 -G_CONST_RETURN gchar *unique_response_to_string (UniqueResponse response);
gokhlayeh@11438 67 +const gchar *unique_response_to_string (UniqueResponse response);
gokhlayeh@11438 68
gokhlayeh@11438 69 gint unique_command_from_string (UniqueApp *app,
gokhlayeh@11438 70 const gchar *command);
gokhlayeh@11438 71 -G_CONST_RETURN gchar *unique_command_to_string (UniqueApp *app,
gokhlayeh@11438 72 +const gchar *unique_command_to_string (UniqueApp *app,
gokhlayeh@11438 73 gint command);
gokhlayeh@11438 74
gokhlayeh@11438 75 G_END_DECLS
gokhlayeh@11438 76 diff -Nur libunique-1.1.6.orig/unique/uniquemessage.c libunique-1.1.6/unique/uniquemessage.c
gokhlayeh@11438 77 --- libunique-1.1.6.orig/unique/uniquemessage.c 2011-12-01 07:38:17.748122298 +0000
gokhlayeh@11438 78 +++ libunique-1.1.6/unique/uniquemessage.c 2011-12-01 07:41:45.743225713 +0000
gokhlayeh@11438 79 @@ -185,7 +185,7 @@
gokhlayeh@11438 80 *
gokhlayeh@11438 81 * Since: 1.0.2
gokhlayeh@11438 82 */
gokhlayeh@11438 83 -G_CONST_RETURN guchar *
gokhlayeh@11438 84 +const guchar *
gokhlayeh@11438 85 unique_message_data_get (UniqueMessageData *message_data,
gokhlayeh@11438 86 gsize *length)
gokhlayeh@11438 87 {
gokhlayeh@11438 88 @@ -525,7 +525,7 @@
gokhlayeh@11438 89 * owned by the #UniqueMessageData structure and should not be
gokhlayeh@11438 90 * modified or freed
gokhlayeh@11438 91 */
gokhlayeh@11438 92 -G_CONST_RETURN gchar *
gokhlayeh@11438 93 +const gchar *
gokhlayeh@11438 94 unique_message_data_get_startup_id (UniqueMessageData *message_data)
gokhlayeh@11438 95 {
gokhlayeh@11438 96 g_return_val_if_fail (message_data != NULL, NULL);
gokhlayeh@11438 97 diff -Nur libunique-1.1.6.orig/unique/uniquemessage.h libunique-1.1.6/unique/uniquemessage.h
gokhlayeh@11438 98 --- libunique-1.1.6.orig/unique/uniquemessage.h 2011-12-01 07:38:17.748122298 +0000
gokhlayeh@11438 99 +++ libunique-1.1.6/unique/uniquemessage.h 2011-12-01 07:40:47.576064565 +0000
gokhlayeh@11438 100 @@ -48,7 +48,7 @@
gokhlayeh@11438 101 void unique_message_data_set (UniqueMessageData *message_data,
gokhlayeh@11438 102 const guchar *data,
gokhlayeh@11438 103 gsize length);
gokhlayeh@11438 104 -G_CONST_RETURN guchar *unique_message_data_get (UniqueMessageData *message_data,
gokhlayeh@11438 105 +const guchar *unique_message_data_get (UniqueMessageData *message_data,
gokhlayeh@11438 106 gsize *length);
gokhlayeh@11438 107
gokhlayeh@11438 108 gboolean unique_message_data_set_text (UniqueMessageData *message_data,
gokhlayeh@11438 109 @@ -63,7 +63,7 @@
gokhlayeh@11438 110 gchar * unique_message_data_get_filename (UniqueMessageData *message_data);
gokhlayeh@11438 111
gokhlayeh@11438 112 GdkScreen * unique_message_data_get_screen (UniqueMessageData *message_data);
gokhlayeh@11438 113 -G_CONST_RETURN gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data);
gokhlayeh@11438 114 +const gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data);
gokhlayeh@11438 115 guint unique_message_data_get_workspace (UniqueMessageData *message_data);
gokhlayeh@11438 116
gokhlayeh@11438 117 G_END_DECLS