diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-27 14:00:23 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-27 14:00:23 +0900 |
commit | ae8d5664c3fc944a61b52e33223b05f13c618523 (patch) | |
tree | 3dd186801ddaa8e846900993406fb1967cb4d814 /src/statistics | |
parent | 596988af1cbea04a9af1eeb66668f49b4ff876d5 (diff) | |
download | gnunet-gtk-ae8d5664c3fc944a61b52e33223b05f13c618523.tar.gz gnunet-gtk-ae8d5664c3fc944a61b52e33223b05f13c618523.zip |
Silence warnings and port to gnunet 0.18.0
Diffstat (limited to 'src/statistics')
-rw-r--r-- | src/statistics/gtk_statistics.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/statistics/gtk_statistics.c b/src/statistics/gtk_statistics.c index 3a7aba8e..e9e4360c 100644 --- a/src/statistics/gtk_statistics.c +++ b/src/statistics/gtk_statistics.c | |||
@@ -178,9 +178,7 @@ gtk_statistics_init (GtkStatistics *statistics) | |||
178 | { | 178 | { |
179 | GtkStatisticsPrivate *priv; | 179 | GtkStatisticsPrivate *priv; |
180 | 180 | ||
181 | statistics->priv = G_TYPE_INSTANCE_GET_PRIVATE (statistics, | 181 | statistics->priv = gtk_statistics_get_instance_private (statistics); |
182 | GTK_TYPE_STATISTICS, | ||
183 | GtkStatisticsPrivate); | ||
184 | priv = statistics->priv; | 182 | priv = statistics->priv; |
185 | #if GTK_MAJOR_VERSION < 3 | 183 | #if GTK_MAJOR_VERSION < 3 |
186 | g_signal_connect (statistics, | 184 | g_signal_connect (statistics, |