* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "gtkimcontextmultipress.h"
{
GtkImContextMultipress *multipress_context;
- GDK_THREADS_ENTER ();
+ gdk_threads_enter ();
multipress_context = GTK_IM_CONTEXT_MULTIPRESS (data);
multipress_context->timeout_id = 0;
- GDK_THREADS_LEAVE ();
+ gdk_threads_leave ();
- return FALSE; /* don't call me again */
+ return G_SOURCE_REMOVE; /* don't call me again */
}
static gboolean
keyval = gdk_keyval_from_name (keys[i]);
- if (keyval == GDK_VoidSymbol)
+ if (keyval == GDK_KEY_VoidSymbol)
{
g_warning ("Error while trying to read the %s configuration file: "
"invalid key name \"%s\"",