From 7066f9a921a6695ea9c8e2dae2c6fd230add6baa Mon Sep 17 00:00:00 2001 From: Perberos Date: Tue, 31 Jul 2012 21:05:06 -0300 Subject: fixing address issue of fsf --- src/math-display.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/math-display.c') diff --git a/src/math-display.c b/src/math-display.c index 62f0218..b809695 100644 --- a/src/math-display.c +++ b/src/math-display.c @@ -12,8 +12,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. */ #include @@ -247,7 +247,7 @@ create_gui(MathDisplay *display) { GtkWidget *info_view; PangoFontDescription *font_desc; - + g_signal_connect(display, "key-press-event", G_CALLBACK(key_press_cb), display); display->priv->text_view = gtk_text_view_new_with_buffer(GTK_TEXT_BUFFER(display->priv->equation)); @@ -268,7 +268,7 @@ create_gui(MathDisplay *display) //FIXME:Result Region g_signal_connect(display->priv->text_view, "key-press-event", G_CALLBACK(display_key_press_cb), display); gtk_box_pack_start(GTK_BOX(display), display->priv->text_view, TRUE, TRUE, 0); - + info_view = gtk_text_view_new(); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(info_view), GTK_WRAP_WORD); gtk_widget_set_can_focus(info_view, TRUE); // FIXME: This should be FALSE but it locks the cursor inside the main view for some reason @@ -351,7 +351,7 @@ math_display_class_init (MathDisplayClass *klass) } -static void +static void math_display_init(MathDisplay *display) { display->priv = G_TYPE_INSTANCE_GET_PRIVATE (display, math_display_get_type(), MathDisplayPrivate); -- cgit v1.2.1