gucharmap r1685 - trunk/gucharmap
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gucharmap r1685 - trunk/gucharmap
- Date: Fri, 21 Mar 2008 10:56:08 +0000 (GMT)
Author: chpe
Date: Fri Mar 21 10:56:08 2008
New Revision: 1685
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1685&view=rev
Log:
Make this static data.
Modified:
trunk/gucharmap/gucharmap-chartable.c
Modified: trunk/gucharmap/gucharmap-chartable.c
==============================================================================
--- trunk/gucharmap/gucharmap-chartable.c (original)
+++ trunk/gucharmap/gucharmap-chartable.c Fri Mar 21 10:56:08 2008
@@ -205,11 +205,10 @@
break;
case POSITION_RIGHT_ALIGN_BOTTOM:
- rect.x += target_rect->width;
+ rect.y -= rect.height - target_rect->height;
/* fall-through */
case POSITION_RIGHT_ALIGN_TOP:
rect.x += target_rect->width;
- rect.y -= rect.height - target_rect->height;
break;
case POSITION_TOP_ALIGN_RIGHT:
@@ -244,7 +243,7 @@
GdkRectangle monitor;
int monitor_num;
GdkScreen *screen;
- const PositionType positions[] = {
+ static const PositionType positions[] = {
POSITION_DOWN_ALIGN_LEFT,
POSITION_TOP_ALIGN_LEFT,
POSITION_RIGHT_ALIGN_TOP,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]