From 6a47b4a5d35d818d1b1745c175c372c21320e2e7 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Mon, 22 Jul 2013 23:00:10 +0000 Subject: [PATCH] don't use a '-' character in the QN argument to G_DEFINE_QUARK. https://forum.transmissionbt.com/viewtopic.php?p=65548#p65548 --- gtk/tr-icon.c | 2 +- gtk/tr-window.c | 2 +- gtk/util.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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) -- 2.40.0