[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/gtkutil.c
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/gtkutil.c |
Date: |
Fri, 28 Mar 2003 15:33:01 -0500 |
Index: emacs/src/gtkutil.c
diff -c emacs/src/gtkutil.c:1.25 emacs/src/gtkutil.c:1.26
*** emacs/src/gtkutil.c:1.25 Wed Mar 26 13:07:46 2003
--- emacs/src/gtkutil.c Fri Mar 28 15:33:01 2003
***************
*** 1383,1390 ****
G_CALLBACK (tearoff_remove), menu);
}
- int xg_debug = 0;
-
/* Create a menu item widget, and connect the callbacks.
ITEM decribes the menu item.
F is the frame the created menu belongs to.
--- 1383,1388 ----
***************
*** 2949,2956 ****
GdkEventExpose *event;
gpointer client_data;
{
! event->area.x = event->area.y = 0;
! event->area.width = event->area.height = 1000;
return FALSE;
}
--- 2947,2965 ----
GdkEventExpose *event;
gpointer client_data;
{
! gint width, height;
!
! gdk_drawable_get_size (event->window, &width, &height);
!
! event->area.x -= width > event->area.width ? width-event->area.width : 0;
! event->area.y -= height > event->area.height ? height-event->area.height :
0;
!
! event->area.x = max(0, event->area.x);
! event->area.y = max(0, event->area.y);
!
! event->area.width = max (width, event->area.width);
! event->area.height = max (height, event->area.height);
!
return FALSE;
}
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, (continued)
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Andreas Schwab, 2003/03/12
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Andreas Schwab, 2003/03/12
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Jan Djärv, 2003/03/14
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Jan Djärv, 2003/03/14
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Jan Djärv, 2003/03/17
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Jan Djärv, 2003/03/17
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Jan Djärv, 2003/03/18
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Jan Djärv, 2003/03/22
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Jan Djärv, 2003/03/22
- [Emacs-diffs] Changes to emacs/src/gtkutil.c, Jan Djärv, 2003/03/26
- [Emacs-diffs] Changes to emacs/src/gtkutil.c,
Jan Djärv <=