diff options
author | TingPing <tingping@tingping.se> | 2014-01-18 04:08:32 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-01-18 14:47:17 -0500 |
commit | ce09cb4a91e0b0a567e87d1f5e7301924b16c146 (patch) | |
tree | 6e284ed7768758ad59173e3c580d28741dbff47c /src/fe-gtk/fe-gtk.c | |
parent | fa1eb92a7bc17e9e3ae3809851588ea5842df292 (diff) |
Update most deprecated gtk functions
Diffstat (limited to 'src/fe-gtk/fe-gtk.c')
-rw-r--r-- | src/fe-gtk/fe-gtk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index e930cb1f..d00158d1 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -757,7 +757,7 @@ fe_set_lag (server *serv, int lag) if (sess->gui->lagometer) { gtk_progress_bar_set_fraction ((GtkProgressBar *) sess->gui->lagometer, per); - add_tip (gtk_widget_get_parent (sess->gui->lagometer), lagtip); + gtk_widget_set_tooltip_text (gtk_widget_get_parent (sess->gui->lagometer), lagtip); } if (sess->gui->laginfo) gtk_label_set_text ((GtkLabel *) sess->gui->laginfo, lagtext); @@ -803,7 +803,7 @@ fe_set_throttle (server *serv) if (sess->gui->throttlemeter) { gtk_progress_bar_set_fraction ((GtkProgressBar *) sess->gui->throttlemeter, per); - add_tip (gtk_widget_get_parent (sess->gui->throttlemeter), tip); + gtk_widget_set_tooltip_text (gtk_widget_get_parent (sess->gui->throttlemeter), tip); } if (sess->gui->throttleinfo) gtk_label_set_text ((GtkLabel *) sess->gui->throttleinfo, tbuf); |