From 6ca0191aa54ffd45fc174aec24af17bb7ad4b1c7 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Wed, 6 Nov 2019 18:29:28 +0100 Subject: avoid redundant redeclarations --- baobab/src/baobab-chart.c | 2 -- baobab/src/baobab-remote-connect-dialog.c | 3 --- baobab/src/baobab-ringschart.c | 2 -- baobab/src/baobab-treemap.c | 2 -- gsearchtool/src/gsearchtool-callbacks.c | 4 ---- 5 files changed, 13 deletions(-) diff --git a/baobab/src/baobab-chart.c b/baobab/src/baobab-chart.c index 9a69a5cb..e484f146 100644 --- a/baobab/src/baobab-chart.c +++ b/baobab/src/baobab-chart.c @@ -102,8 +102,6 @@ const BaobabChartColor baobab_chart_tango_colors[] = {{0.94, 0.16, 0.16}, /* tan {0.91, 0.73, 0.43}, /* tango: e9b96e */ {0.99, 0.68, 0.25}}; /* tango: fcaf3e */ -static void baobab_chart_class_init (BaobabChartClass *class); -static void baobab_chart_init (BaobabChart *object); static void baobab_chart_realize (GtkWidget *widget); static void baobab_chart_dispose (GObject *object); static void baobab_chart_size_allocate (GtkWidget *widget, diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c index 08d836f6..e892e06d 100644 --- a/baobab/src/baobab-remote-connect-dialog.c +++ b/baobab/src/baobab-remote-connect-dialog.c @@ -54,9 +54,6 @@ struct _BaobabRemoteConnectDialogDetails { GtkWidget *user_entry; }; -static void baobab_remote_connect_dialog_class_init (BaobabRemoteConnectDialogClass *class); -static void baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog); - G_DEFINE_TYPE(BaobabRemoteConnectDialog, baobab_remote_connect_dialog, GTK_TYPE_DIALOG) #define RESPONSE_CONNECT GTK_RESPONSE_OK diff --git a/baobab/src/baobab-ringschart.c b/baobab/src/baobab-ringschart.c index 3e0071de..cdb18a52 100644 --- a/baobab/src/baobab-ringschart.c +++ b/baobab/src/baobab-ringschart.c @@ -74,8 +74,6 @@ struct _BaobabRingschartPrivate G_DEFINE_TYPE_WITH_PRIVATE (BaobabRingschart, baobab_ringschart, BAOBAB_CHART_TYPE); -static void baobab_ringschart_class_init (BaobabRingschartClass *class); -static void baobab_ringschart_init (BaobabRingschart *object); static void baobab_ringschart_draw_sector (cairo_t *cr, gdouble center_x, gdouble center_y, gdouble radius, gdouble thickness, diff --git a/baobab/src/baobab-treemap.c b/baobab/src/baobab-treemap.c index 787a5cc5..ee25fd87 100644 --- a/baobab/src/baobab-treemap.c +++ b/baobab/src/baobab-treemap.c @@ -53,8 +53,6 @@ struct _BaobabTreemapPrivate G_DEFINE_TYPE_WITH_PRIVATE (BaobabTreemap, baobab_treemap, BAOBAB_CHART_TYPE); -static void baobab_treemap_class_init (BaobabTreemapClass *class); -static void baobab_treemap_init (BaobabTreemap *object); static void baobab_treemap_draw_rectangle (GtkWidget *chart, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height, diff --git a/gsearchtool/src/gsearchtool-callbacks.c b/gsearchtool/src/gsearchtool-callbacks.c index b20aed79..11512b56 100644 --- a/gsearchtool/src/gsearchtool-callbacks.c +++ b/gsearchtool/src/gsearchtool-callbacks.c @@ -47,10 +47,6 @@ #define SILENT_WINDOW_OPEN_LIMIT 5 -#ifdef HAVE_GETPGID -extern pid_t getpgid (pid_t); -#endif - gboolean row_selected_by_button_press_event; static void -- cgit v1.2.1