X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d32e78bd428286561c0db32afda4dea7e262cb84..186344760df70193277af236c5faaba33c79d9f9:/src/gtk/scrolwin.cpp?ds=sidebyside diff --git a/src/gtk/scrolwin.cpp b/src/gtk/scrolwin.cpp index 70a9298be2..001017f731 100644 --- a/src/gtk/scrolwin.cpp +++ b/src/gtk/scrolwin.cpp @@ -117,14 +117,14 @@ void wxScrollHelperNative::DoAdjustScrollbar(GtkAdjustment *adj, else { // We need to actually scroll window - gtk_signal_emit_by_name( GTK_OBJECT(adj), "value_changed" ); + g_signal_emit_by_name (adj, "value_changed"); } } } *lines = (int)(adj->upper + 0.5); *linesPerPage = (int)(adj->page_increment + 0.5); - gtk_signal_emit_by_name( GTK_OBJECT(adj), "changed" ); + g_signal_emit_by_name (adj, "changed"); } void wxScrollHelperNative::AdjustScrollbars()