gnome-power-manager r3070 - in trunk: . src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r3070 - in trunk: . src
- Date: Tue, 4 Nov 2008 10:29:19 +0000 (UTC)
Author: rhughes
Date: Tue Nov 4 10:29:19 2008
New Revision: 3070
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3070&view=rev
Log:
2008-11-04 Richard Hughes <richard hughsie com>
* src/gpm-graph-widget-old.c: (create_graph_window):
Remove deprecated method calls in the non DeviceKit code.
Modified:
trunk/ChangeLog
trunk/src/gpm-graph-widget-old.c
Modified: trunk/src/gpm-graph-widget-old.c
==============================================================================
--- trunk/src/gpm-graph-widget-old.c (original)
+++ trunk/src/gpm-graph-widget-old.c Tue Nov 4 10:29:19 2008
@@ -1351,19 +1351,19 @@
label = gtk_label_new("Title");
button_passed = gtk_button_new_with_label("Passed");
- gtk_signal_connect(GTK_OBJECT(button_passed), "clicked", GTK_SIGNAL_FUNC(clicked_passed_cb), test);
+ g_signal_connect (G_OBJECT(button_passed), "clicked", G_CALLBACK(clicked_passed_cb), test);
button_failed = gtk_button_new_with_label("Failed");
- gtk_signal_connect(GTK_OBJECT(button_failed), "clicked", GTK_SIGNAL_FUNC(clicked_failed_cb), test);
+ g_signal_connect (G_OBJECT(button_failed), "clicked", G_CALLBACK(clicked_failed_cb), test);
gtk_widget_set_size_request (graph, 600, 300);
- gtk_signal_connect (GTK_OBJECT(window), "delete_event", GTK_SIGNAL_FUNC(close_handler), test);
+ g_signal_connect (G_OBJECT(window), "delete_event", G_CALLBACK(close_handler), test);
gtk_container_add (GTK_CONTAINER (window), vbox);
gtk_box_pack_start (GTK_BOX (vbox), graph, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), button_passed, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), button_failed, FALSE, FALSE, 0);
- gtk_container_border_width (GTK_CONTAINER (window), 0);
+ gtk_container_set_border_width (GTK_CONTAINER (window), 0);
gtk_widget_show (vbox);
gtk_widget_show (label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]