diff options
author | infirit <[email protected]> | 2015-07-06 20:38:55 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-06 20:38:55 +0200 |
commit | 069182d3b7eb3cbe831f3c486d474129a4a69c70 (patch) | |
tree | 09c9eff4a37466638e334b6ab52a63999fa705ce /sensors-applet/sensor-config-dialog.c | |
parent | b1a9157125af03750b8bf9ba92972ae0988bc7bb (diff) | |
download | mate-sensors-applet-069182d3b7eb3cbe831f3c486d474129a4a69c70.tar.bz2 mate-sensors-applet-069182d3b7eb3cbe831f3c486d474129a4a69c70.tar.xz |
Small cleanup
Bring the code in sync with gnome-sensors-applet.
Diffstat (limited to 'sensors-applet/sensor-config-dialog.c')
-rw-r--r-- | sensors-applet/sensor-config-dialog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sensors-applet/sensor-config-dialog.c b/sensors-applet/sensor-config-dialog.c index cc09305..bb76da6 100644 --- a/sensors-applet/sensor-config-dialog.c +++ b/sensors-applet/sensor-config-dialog.c @@ -323,6 +323,7 @@ static void sensor_config_dialog_graph_color_set(GtkColorButton *color_button, GtkTreeModel *model; GtkTreePath *path; GtkTreeIter iter; + GtkWidget *content_area; GdkColor color; gchar *color_string; @@ -352,6 +353,7 @@ static void sensor_config_dialog_graph_color_set(GtkColorButton *color_button, void sensor_config_dialog_create(SensorsApplet *sensors_applet) { GtkTreeModel *model; GtkTreeIter iter; + GtkWidget *content_area; SensorConfigDialog *config_dialog; @@ -912,7 +914,8 @@ void sensor_config_dialog_create(SensorsApplet *sensors_applet) { 2, 3, 14, 15); - gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area (GTK_DIALOG(config_dialog->dialog))), GTK_WIDGET(config_dialog->table), TRUE, TRUE, 0); + content_area = gtk_dialog_get_content_area (GTK_DIALOG(config_dialog->dialog)); + gtk_box_pack_start(GTK_BOX(content_area), GTK_WIDGET(config_dialog->table), FALSE, FALSE, 0); gtk_widget_show_all(config_dialog->dialog); } |