[Xfce4-commits] [panel-plugins/xfce4-systemload-plugin] 06/16: gtk_box_pack_start_defaults was deprecated in Gtk 2.12 and removed in 3.0

noreply at xfce.org noreply at xfce.org
Fri Apr 29 16:07:23 CEST 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-systemload-plugin.

commit 9516966d6ff07e03345f6d807e4cb7a0674e2a0a
Author: Landry Breuil <landry at xfce.org>
Date:   Fri Apr 29 11:13:00 2016 +0200

    gtk_box_pack_start_defaults was deprecated in Gtk 2.12 and removed in 3.0
---
 panel-plugin/systemload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 61a89aa..4c82c19 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -728,7 +728,7 @@ static GtkTable* new_frame(t_global_monitor *global, GtkBox *content,
     gtk_table_set_col_spacings (GTK_TABLE(table), 12);
     gtk_table_set_row_spacings (GTK_TABLE(table), 6);
     frame = xfce_gtk_frame_box_new_with_content (title, table);
-    gtk_box_pack_start_defaults (content, frame);
+    gtk_box_pack_start (content, frame, TRUE, TRUE, 0);
     if (boolvar) {
         check = gtk_check_button_new();
         /* Move frame label into check button */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list