Mercurial > pidgin
comparison console/libgnt/gntwidget.c @ 14847:d478f3853671
[gaim-migrate @ 17616]
Fix bug #1582629. The terminal should now always go back to normal state after quitting from gaim-text.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 29 Oct 2006 03:43:15 +0000 |
parents | bfcdd361357e |
children | 70623f0d5cdc |
comparison
equal
deleted
inserted
replaced
14846:c7651586e27b | 14847:d478f3853671 |
---|---|
579 if (gnt_widget_has_shadow(widget)) | 579 if (gnt_widget_has_shadow(widget)) |
580 { | 580 { |
581 width--; | 581 width--; |
582 height--; | 582 height--; |
583 } | 583 } |
584 if (width <= 0) | |
585 width = widget->priv.width; | |
586 if (height <= 0) | |
587 height = widget->priv.height; | |
584 | 588 |
585 if (GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_MAPPED)) | 589 if (GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_MAPPED)) |
586 { | 590 { |
587 ret = gnt_widget_confirm_size(widget, width, height); | 591 ret = gnt_widget_confirm_size(widget, width, height); |
588 } | 592 } |