[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75
xan at webkit.org
xan at webkit.org
Thu Oct 29 20:45:00 UTC 2009
The following commit has been merged in the webkit-1.1 branch:
commit 5929a045ceb1b0de83edddc61e1425a5ccfcc863
Author: xan at webkit.org <xan at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Oct 15 07:35:33 2009 +0000
2009-10-14 José Millán Soto <jmillan at igalia.com>
Reviewed by Jan Alonzo.
GtkLauncher is using a deprecated signal
https://bugs.webkit.org/show_bug.cgi?id=30364
Modified GtkLauncher to use notify::title signal instead of
deprecated title-changed signal
* GtkLauncher/main.c:
(notify_title_cb):
(create_browser):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 57c2f2b..ef67a64 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,17 @@
+2009-10-14 José Millán Soto <jmillan at igalia.com>
+
+ Reviewed by Jan Alonzo.
+
+ GtkLauncher is using a deprecated signal
+ https://bugs.webkit.org/show_bug.cgi?id=30364
+
+ Modified GtkLauncher to use notify::title signal instead of
+ deprecated title-changed signal
+
+ * GtkLauncher/main.c:
+ (notify_title_cb):
+ (create_browser):
+
2009-10-14 Brady Eidson <beidson at apple.com>
Reviewed by Sam Weinig.
diff --git a/WebKitTools/GtkLauncher/main.c b/WebKitTools/GtkLauncher/main.c
index 6994674..2f9350d 100644
--- a/WebKitTools/GtkLauncher/main.c
+++ b/WebKitTools/GtkLauncher/main.c
@@ -65,11 +65,11 @@ link_hover_cb (WebKitWebView* page, const gchar* title, const gchar* link, gpoin
}
static void
-title_change_cb (WebKitWebView* web_view, WebKitWebFrame* web_frame, const gchar* title, gpointer data)
+notify_title_cb (WebKitWebView* web_view, GParamSpec* pspec, gpointer data)
{
if (main_title)
g_free (main_title);
- main_title = g_strdup (title);
+ main_title = g_strdup (webkit_web_view_get_title(web_view));
update_title (GTK_WINDOW (main_window));
}
@@ -118,7 +118,7 @@ create_browser ()
web_view = WEBKIT_WEB_VIEW (webkit_web_view_new ());
gtk_container_add (GTK_CONTAINER (scrolled_window), GTK_WIDGET (web_view));
- g_signal_connect (web_view, "title-changed", G_CALLBACK (title_change_cb), web_view);
+ g_signal_connect (web_view, "notify::title", G_CALLBACK (notify_title_cb), web_view);
g_signal_connect (web_view, "notify::load-status", G_CALLBACK (notify_load_status_cb), web_view);
g_signal_connect (web_view, "notify::progress", G_CALLBACK (notify_progress_cb), web_view);
g_signal_connect (web_view, "hovering-over-link", G_CALLBACK (link_hover_cb), web_view);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list