From: Jordan Lee Date: Mon, 22 Jul 2013 23:00:10 +0000 (+0000) Subject: don't use a '-' character in the QN argument to G_DEFINE_QUARK. https://forum.transmi... X-Git-Tag: 2.82~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a47b4a5d35d818d1b1745c175c372c21320e2e7;p=transmission don't use a '-' character in the QN argument to G_DEFINE_QUARK. https://forum.transmissionbt.com/viewtopic.php?p=65548#p65548 --- diff --git a/gtk/tr-icon.c b/gtk/tr-icon.c index 6030242ec..097ff9cfc 100644 --- a/gtk/tr-icon.c +++ b/gtk/tr-icon.c @@ -21,7 +21,7 @@ #include "tr-icon.h" #include "util.h" -static G_DEFINE_QUARK (tr-core, core) +static G_DEFINE_QUARK (tr_core, core) #define ICON_NAME "transmission" diff --git a/gtk/tr-window.c b/gtk/tr-window.c index 0b6b48485..80f83924b 100644 --- a/gtk/tr-window.c +++ b/gtk/tr-window.c @@ -66,7 +66,7 @@ typedef struct } PrivateData; -static G_DEFINE_QUARK (private-data, private_data) +static G_DEFINE_QUARK (private_data, private_data) static PrivateData* get_private_data (GtkWindow * w) diff --git a/gtk/util.c b/gtk/util.c index 4f09330a4..d31266cff 100644 --- a/gtk/util.c +++ b/gtk/util.c @@ -664,7 +664,7 @@ freespace_label_data_free (gpointer gdata) g_free (data); } -static G_DEFINE_QUARK (freespace-label-data, freespace_label_data) +static G_DEFINE_QUARK (freespace_label_data, freespace_label_data) static void on_freespace_label_core_destroyed (gpointer gdata, GObject * dead_core G_GNUC_UNUSED)