[gnome-panel/wip/applets/clock] clock: remove unneeded parameter from clock_preferences_new
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip/applets/clock] clock: remove unneeded parameter from clock_preferences_new
- Date: Tue, 18 Nov 2014 01:24:07 +0000 (UTC)
commit becfbecf10eef63f650e973145713187caaa0722
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Nov 18 03:06:09 2014 +0200
clock: remove unneeded parameter from clock_preferences_new
applets/clock/clock-preferences.c | 1 -
applets/clock/clock-preferences.h | 1 -
applets/clock/clock.c | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/applets/clock/clock-preferences.c b/applets/clock/clock-preferences.c
index 44fe85a..ea9c41e 100644
--- a/applets/clock/clock-preferences.c
+++ b/applets/clock/clock-preferences.c
@@ -834,7 +834,6 @@ clock_preferences_init (ClockPreferences *preferences)
GtkWidget *
clock_preferences_new (GSettings *applet_settings,
- GtkWindow *parent,
gint page_number)
{
GObject *object;
diff --git a/applets/clock/clock-preferences.h b/applets/clock/clock-preferences.h
index aa437d4..a0d1de5 100644
--- a/applets/clock/clock-preferences.h
+++ b/applets/clock/clock-preferences.h
@@ -58,7 +58,6 @@ struct _ClockPreferencesClass
GType clock_preferences_get_type (void);
GtkWidget *clock_preferences_new (GSettings *applet_settings,
- GtkWindow *parent,
gint page_number);
void clock_preferences_update_locations (GSettings *settings,
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index d3aa185..abdfbe9 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -1299,7 +1299,6 @@ display_properties_dialog (ClockData *cd, gboolean start_in_locations_page)
page_number = 1;
prefs_window = clock_preferences_new (cd->applet_settings,
- GTK_WINDOW (gtk_widget_get_toplevel (cd->applet)),
page_number);
gtk_window_present (GTK_WINDOW (prefs_window));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]