summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk_mixvm.c
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2006-03-20 23:01:19 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2006-03-20 23:01:19 +0000
commitde560a216043fa3857be68f955244fefd1b62ab9 (patch)
treeb13a040c9715b9c8c4dc503ab62ce37cb3194758 /mixgtk/mixgtk_mixvm.c
parent3b4716c7497157d682280810a778d90b77e4104c (diff)
downloadmdk-de560a216043fa3857be68f955244fefd1b62ab9.tar.gz
mdk-de560a216043fa3857be68f955244fefd1b62ab9.tar.bz2
Bug fixes for 1.2.2 (latest CVS version)
* mixgtk/mixgtk.glade (Module): I1 and I2 in mixvm swapped to their correct position (closes #15746). * mixgtk/mixgtk_mixvm.c (init_mem_): fixed segfault when clicking Memory title bar (closes #15910). * configure.in: obsolete C flags for Darwin deleted. * misc/mixal-mode.el (Module): sync with Emacs CVS (Pieter). * mixlib/mix.c: copyright year in console message updated. * mixgtk/mixgtk_device.c (write_char_): buffer size was insufficient. git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-3
Diffstat (limited to 'mixgtk/mixgtk_mixvm.c')
-rw-r--r--mixgtk/mixgtk_mixvm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mixgtk/mixgtk_mixvm.c b/mixgtk/mixgtk_mixvm.c
index cc74e27..6b4d6b9 100644
--- a/mixgtk/mixgtk_mixvm.c
+++ b/mixgtk/mixgtk_mixvm.c
@@ -1,9 +1,9 @@
/* -*-c-*- -------------- mixgtk_mixvm.c :
* Implementation of the functions declared in mixgtk_mixvm.h
* ------------------------------------------------------------------
- * $Id: mixgtk_mixvm.c,v 1.16 2005/09/20 19:43:14 jao Exp $
+ * $Id: mixgtk_mixvm.c,v 1.17 2006/03/15 23:31:34 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -440,7 +440,7 @@ cont_clicked_ (GtkWidget *w, GdkEvent *event, gpointer data)
enum {SIZE = 30};
static gchar BUFFER[SIZE];
- if (event->type == GDK_BUTTON_PRESS)
+ if (event && event->type == GDK_BUTTON_PRESS)
{
GtkTreeIter iter;
GtkTreeModel *model;
@@ -519,8 +519,8 @@ init_mem_ (void)
gtk_tree_view_append_column (memory_, col);
- g_signal_connect (G_OBJECT (memory_), "event-after",
- G_CALLBACK (cont_clicked_), NULL);
+ g_signal_connect_after (G_OBJECT (memory_), "event-after",
+ G_CALLBACK (cont_clicked_), NULL);
mixgtk_fontsel_set_font (MIX_FONT_MIXVM, GTK_WIDGET (memory_));