[Tomoe-cvs 1431] CVS update: libtomoe-gtk/src

Back to archive index

Takuro Ashie makei****@users*****
2006年 11月 30日 (木) 14:13:35 JST


Index: libtomoe-gtk/src/tomoe-window.c
diff -u libtomoe-gtk/src/tomoe-window.c:1.21 libtomoe-gtk/src/tomoe-window.c:1.22
--- libtomoe-gtk/src/tomoe-window.c:1.21	Thu Nov 30 14:07:39 2006
+++ libtomoe-gtk/src/tomoe-window.c	Thu Nov 30 14:13:35 2006
@@ -152,15 +152,21 @@
 tomoe_window_get_canvas (TomoeWindow *window)
 {
     TomoeWindowPrivate *priv;
+    TomoeStrokeSearch *handwriting_page;
     g_return_val_if_fail (TOMOE_IS_WINDOW (window), NULL);
 
     priv = TOMOE_WINDOW_GET_PRIVATE (window);
-    g_return_val_if_fail (TOMOE_IS_STROKE_SEARCH (priv->handwriting_page), NULL);
+    g_return_val_if_fail (TOMOE_IS_STROKE_SEARCH (priv->handwriting_page),
+                          NULL);
 
-    return tomoe_stroke_search_get_canvas (TOMOE_STROKE_SEARCH (priv->handwriting_page));
+    handwriting_page = TOMOE_STROKE_SEARCH (priv->handwriting_page);
+    return tomoe_stroke_search_get_canvas (handwriting_page);
 }
 void
-tomoe_window_append_page (TomoeWindow *window, GtkWidget *page, GtkWidget *label, const gchar *label_text)
+tomoe_window_append_page (TomoeWindow *window,
+                          GtkWidget   *page,
+                          GtkWidget   *label,
+                          const gchar *label_text)
 {
     TomoeWindowPrivate *priv;
     GtkTooltips *tip;


tomoe-cvs メーリングリストの案内
Back to archive index