Hiroyuki Ikezoe
ikezo****@users*****
Wed Jan 3 10:27:08 JST 2007
Index: kazehakase/src/kz-window.c diff -u kazehakase/src/kz-window.c:1.290 kazehakase/src/kz-window.c:1.291 --- kazehakase/src/kz-window.c:1.290 Wed Jan 3 10:23:52 2007 +++ kazehakase/src/kz-window.c Wed Jan 3 10:27:07 2007 @@ -237,9 +237,6 @@ static gint cb_embed_dom_mouse_click (KzEmbed *embed, KzEmbedEventMouse *event, KzWindow *kz); -static gint cb_embed_dom_mouse_dbl_click (KzEmbed *embed, - KzEmbedEventMouse *event, - KzWindow *kz); static gint cb_embed_dom_mouse_down (KzEmbed *embed, KzEmbedEventMouse *event, KzWindow *kz); @@ -1750,8 +1747,6 @@ G_CALLBACK(cb_embed_dom_mouse_over), kz); g_signal_connect(kzembed, "kz-dom-mouse-click", G_CALLBACK(cb_embed_dom_mouse_click), kz); - g_signal_connect(kzembed, "kz-dom-mouse-dbl-click", - G_CALLBACK(cb_embed_dom_mouse_dbl_click), kz); /* * other callbacks @@ -1806,9 +1801,6 @@ g_signal_handlers_disconnect_by_func (kzembed, G_CALLBACK(cb_embed_dom_mouse_click), kz); - g_signal_handlers_disconnect_by_func - (kzembed, - G_CALLBACK(cb_embed_dom_mouse_dbl_click), kz); /* * other callbacks @@ -2648,33 +2640,6 @@ static gint -cb_embed_dom_mouse_dbl_click (KzEmbed *embed, KzEmbedEventMouse *event, - KzWindow *kz) -{ -#if 0 - KzEmbedEventMouse *info; - gint button; - - g_return_val_if_fail(KZ_IS_WINDOW(kz), FALSE); - - type = kz_embed_get_mouse_event_info(KZ_MOZ_EMBED(embed), event, &info); - button = info->button; - kz_embed_event_free(info); - switch (button) { - case 0: - gtk_notebook_prev_page(GTK_NOTEBOOK(kz->notebook)); - break; - case 2: - gtk_notebook_next_page(GTK_NOTEBOOK(kz->notebook)); - break; - } -#endif - - return FALSE; -} - - -static gint cb_embed_dom_mouse_down (KzEmbed *kzembed, KzEmbedEventMouse *event, KzWindow *kz) {