svnno****@sourc*****
svnno****@sourc*****
Tue Feb 24 15:36:56 JST 2009
Revision: 3757 http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3757 Author: ikezoe Date: 2009-02-24 15:36:56 +0900 (Tue, 24 Feb 2009) Log Message: ----------- cosmetic. Modified Paths: -------------- kazehakase/trunk/src/bookmarks/kz-bookmark-item.c Modified: kazehakase/trunk/src/bookmarks/kz-bookmark-item.c =================================================================== --- kazehakase/trunk/src/bookmarks/kz-bookmark-item.c 2009-02-22 11:44:12 UTC (rev 3756) +++ kazehakase/trunk/src/bookmarks/kz-bookmark-item.c 2009-02-24 06:36:56 UTC (rev 3757) @@ -151,21 +151,21 @@ g_object_class_install_property (gobject_class, PROP_BOOKMARK, - g_param_spec_object ("bookmark", - _("Bookmark"), - _("The boomark to show"), - KZ_TYPE_BOOKMARK, - G_PARAM_READWRITE | - G_PARAM_CONSTRUCT_ONLY)); + g_param_spec_object("bookmark", + _("Bookmark"), + _("The boomark to show"), + KZ_TYPE_BOOKMARK, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (gobject_class, PROP_KZ_WINDOW, - g_param_spec_object ("kz-window", - _("KzWindow"), - _("The KzWindow to add a home button"), - KZ_TYPE_WINDOW, - G_PARAM_READWRITE | - G_PARAM_CONSTRUCT_ONLY)); + g_param_spec_object("kz-window", + _("KzWindow"), + _("The KzWindow to add a home button"), + KZ_TYPE_WINDOW, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY)); } @@ -260,10 +260,10 @@ gtk_container_add(GTK_CONTAINER(button), image); gtk_widget_show(image); gtk_widget_show(button); - style = gtk_rc_style_new (); + style = gtk_rc_style_new(); style->xthickness = style->ythickness = 0; - gtk_widget_modify_style (button, style); - g_object_unref (style); + gtk_widget_modify_style(button, style); + g_object_unref(style); if (is_file) { @@ -291,11 +291,11 @@ gtk_box_pack_start(GTK_BOX(hbox), eventbox, FALSE, FALSE, 0); g_signal_connect(eventbox, "button_release_event", G_CALLBACK(cb_bookmark_menu_release), item); - gtk_widget_show (eventbox); + gtk_widget_show(eventbox); item->label = gtk_label_new(kz_bookmark_get_title(item->bookmark)); gtk_container_add(GTK_CONTAINER(eventbox), item->label); - gtk_widget_show (item->label); + gtk_widget_show(item->label); gtk_drag_source_set(GTK_WIDGET(item), GDK_BUTTON1_MASK | @@ -320,8 +320,8 @@ { KzBookmarkItem *menu; - if (G_OBJECT_CLASS (kz_bookmark_item_parent_class)->dispose) - G_OBJECT_CLASS (kz_bookmark_item_parent_class)->dispose(object); + if (G_OBJECT_CLASS(kz_bookmark_item_parent_class)->dispose) + G_OBJECT_CLASS(kz_bookmark_item_parent_class)->dispose(object); menu = KZ_BOOKMARK_ITEM(object); @@ -461,9 +461,7 @@ submenu = kz_bookmark_menu_create_submenu(menu->bookmark, menu->kz); if (menu->sub_menu) - { gtk_widget_destroy(menu->sub_menu); - } menu->sub_menu = submenu; }